This rule ensures a Jira issue key is included in the pull request title.
By mentioning the Jira issue key in the pull request title, it's possible to create a link between a specific Jira issue to the relevant pull requests.
Use case(s)
- Create a logical link between planning (Jira) and the subsequent code change (GitHub)
- Recommended requirement for SOC2 complaint
When does this rule fail?
When a pull request is created but fails to mention a Jira issue key in the pull request title.
How to fix?
-
Click Edit (located at the top of the pull request page)
-
Edit the pull request title to include a Jira issue key and click Save
-
Datree's policy check automatically ensures a Jira issue key is mentioned in the pull request title
What's Next
Activate a policy |
---|