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

This widget could not be displayed.

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.

This widget could not be displayed.
This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

150 views 1 3
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