Search code examples
bitbucketjirapull-request

Automatically add link to pull request to JIRA


We have a setup with Bitbucket GIT linked to JIRA issue tracker. It is possible to add special comments to GIT commit messages to update JIRA issues automatically.

However, is it possible to put the link to the Pull Request, when it is created, to the corresponding JIRA issue? JIRA issue knows the name of the branch, so it should also have information on the pull requests.


Solution

  • If you reference your issue keys in your commit messages, branches and pull requests then this information will automatically appear in your issue's development panel.

    This requires that you have an application link configured between JIRA and Bitbucket.

    This is how it should look: enter image description here

    More info is available on the Development Information documentation page.