Reputation: 459
I would like to include link my pull requests to Jira ticket automatically like this:
I have already prepend JIRA-Id in my pull request title, same goes for the source branch name. However, it did not link. I read from some article that I may need to include JIRA-Id in my commit messages as well. But one of my previous Jira ticket, I did not do so but it managed to link. Why is that so?
Upvotes: 3
Views: 11134
Reputation: 2261
Is it that it does not appear under the Details section as Development field?
In my case the problem was about permissions to view that field:
After that I was able to see links to GitHub
Upvotes: 0
Reputation: 1
I will suggest to add Jira ID in PR title, then it will automatically links.
ex: [RKK-<JIRA_ID>] TITLE OF THE PULL REQUEST
If that is not possible, you can try adding the Jira ID to the following:
Upvotes: 0
Reputation:
Suggestion to have your your branch and commit message include the JIRA-ID.
E.g.
Check if your Bitbucket already linked to your Jira:
https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/
And this is how to integrate with GitHub
https://support.atlassian.com/jira-cloud-administration/docs/integrate-with-github/
Upvotes: 1