jira linking to bamboo

Hi - I have a question about jira issues and the application link works between jira and bamboo and stash. If I create a feature branch from within a jira issue - I see the branches, builds, and pull request info... however, when we deployed to an environment we don't see the "deployed to environment" unless we tag the issue key in the commit message. Is this still a needed step even if you create the branch out of the jira issue? Seems like the link should already be established but I'm not quite sure how it works. See attached screenshot.

I'm on version - 6.3.3

Any help would be greatly appreciated!

5 answers

1 accepted

Ok - I would have thought that this would be automatic based on the fact that you create the link at the time you use JIRA to create the branch. Are you sure this is the case? This seems odd to me that I would need to do both.

Hi Shaunt, I am sure that is the case. If you want to link a branch to a JIRA issue, you have to have the JIRA issue key on the branch name. The same is valid for a commit or for a Pul Request. Those are independent ways to link those entities to a certain JIRA issue. The way you are putting is that all commits under a certain branch that contains a JIRA issue key should be considered belonging to that JIRA issue key. That is not the case for many use cases you have in Git. If you ever decide, for instance, to merge master into that, every commit in your repo would be referenced to that JIRA issue key - which wouldn't be correct. I hope that answers your question.

Hi Shaunt,

Inserting the JIRA issue key in the commit message is something you have to do besides doing that to the branch name. That's how Stash is able to generate links, as well for example, as described in the document below:

Let us know if any questions.

Best regards,
Thiago Bomfim
Atlassian Support

I see what you are saying... thank you. That was very helpful.

Are there plans to change this in future versions? Seems like dual data entry. When the branch is already associated with the issue.

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 ...

2,815 views 11 18
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