How to see in which branch a certain commit (jira ticket) exists?

Hi,

we just recently switched to a feature branch workflow with git. Our infrastructe is based on the atlassian tools jira, bamboo and stash.
All works pretty smooth and all three tools share their status. I can create a branch named like a jira ticket and trace its complete workflow through jira and bamboo until it is released.


But there seems to be one important missing feature: We often have the situation, that a jira ticket has plenty subtasks or some linked tickets. There will be no seperate branch for all the referened tickets, all commits go directly into the parent branch.
This is where we loose traceability of the subtasks, there seems to be no way in jira to see in which branch a referenced ticket has been resolved.


We need to know, which branch contains commits for certain tickets. When I have this information, I can deploy the branch for QS and present a list of all the new features/fixes that have been resolved in this branch.

Do you have similar problems or how would you solve this?

2 answers

As I recall, the JIRA ticket will only be updated with the changes if you mention the JIRA ticket in the commit message. Why not mention the JIRA sub-tasks not the parent JIRA ticket?

You are right, the JIRA Ticket will only be updated when it is mentioned in a commit message. We do mention all our subtasks in the commit message, but this does not solve the problem.  When we do this, JIRA shows the commit but there is no information that this commit exists only in a branch.

So we still dont have a list of all the commits or resolved issue in a certain branch.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,622 views 26 12
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