Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×We use Jira-Bitbucket Integration in our company. The issue we encountered recently is that, the association between jira tickets and pull requests made from bitbucket on those tickets is a little distorted.
To my understanding, the link between bitbucket pull requests and jira branches are based on the appearance of "jira" word in the pull request comments or branch name. This is causing us error where our local server name in house has jira in it. i.e, jira.<>.comSo here is the screenshot of the problem. This is mistakenly taken as a related pull request to another ticket other than MFD-918 just because the word "jira" is appearing that pull request update happened by a developer.
Note: if this helps, this is only happening for those users that are user Git bash on windows operation system, not the ones that are mac users.
Has anyone come across this?
Hi Mehdi,
And welcome to the Atlassian Community.
So, if I understand your issue correctly, you are seeing a reference to the repository as part of the commit comment correct? Something like this:
Merge branch 'source_branch' of ssh://bitbucket_URL/7999/project/repository.git into target_branch
If that is the case, then that is not a reference to a related pull request, it is just telling you that there was a merge done between two branches located in the specified repository. I see that too in my repositories, but only on a few branches.
The Bitbucket - Jira integration is looking for the Jira key. You link an issue to code changes by either mentioning the Jira key as part of your commit comment, in the pull request or in the branch name.
I took a look at the branches that I see this on in our repositories, and it looks to be related to how those branches where created. I only see the reference to the repository on branches that was created in Sourcetree/terminal instead of within Bitbucket/Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mikael,
I think this explains how those commit messages are formatted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.