How to link commits on Jira issue comment?

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.

1 answer

1 vote

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! :)

Ana

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,293 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot