Greetings! I want to know if it's possible to add a comment with a commit id and have it linked automatically to the issue on Bitbucket?
I have the two connected and with smart commits, I can reference the Jira issue on the commit message or even in the PR comment, and that works ok.
But I want to be able to do is in a Jira issue comment, add the id of the commit and have it linked automatically to the issue on Bitbucket.
You can actually do this from Bitbucket issues (i.e. "this bug was introduced by commit 5e8c13c" and Bitbucket will create the link automatically). I want to be able to do the same but on a Jira issue.
My current workaround is to create an hyperlink manually by copy commit hyperlink and name it with commit hash.
It would be nice if there was support for adding title for hyperlinks, so additionally I could add the commit title to the hyperlink title, for example (mouse over the link):
Hi Cesar, at the moment that's not possible. You can include a Jira issue key in branch names, commit messages or pull requests title in Bitbucket, but you can't add the id of the commit and have it linked to the issue on Bitbucket.
The integration will allow you to see the key details of branches, commits and pull requests without leaving Jira Cloud, and create new branches and pull requests directly from an issue.
You can read more about it at how Atlassian development tools integrate together.
If you'd like, you can propose your idea as a Feature request in our public Issue tracker.
Hope that helps! :)
No, this is still a very obvious missing feature. There is absolutely no way to link to a Github/other Git Portal commit from a Jira ticket, if the original Git commit did not correctly reference the ticket number.
Adding the ability to manually link a Jira ticket to Git commits would be extremely helpful.
I'm also very interested in this feature idea.
Register your interest by voting for the suggestion in issue JRACLOUD-42215 (link below). Previous feature requests along these lines have been closed due to lack of interest AFAICT.
As SHA-1 hashes are unique it's an ideal way of referencing a git commit from the connected git repositories.
I've tried creating git references by adding git notes that reference Jira issues but it doesn't do anything.
The only way I've found to do it is manually creating the reference using the additional-cost Git For Jira Cloud app (bigbrassband). Sadly it's really slow and clumsy as there's no way of searching the commit list that I've found and you end up paging through hundreds of pages of git commits. The only practical way is to binary search the commit list by date by editing the URL.
The rather gross way of doing this is to put a URL to the commit from the BitBucket server. That is not relocatable without going through and editing in future. This seems like it should be relatively straightforward for Atlassian to do in their web server.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events