How to display a git (stash) branch on the jira ticket development panel

Say I have a story JIRA-123, for it I create a branch using the Create Branch link, entering JIRA-123-feature, which shows up on branch on JIRA-123 development panel.

Now I have a bug against my feature, JIRA-456, to which I'm going to use branch JIRA-123-feature to resolve it. I can't use Create Branch on JIRA-456, since JIRA-123-feature already exists (created using JIRA-123).

My question is: how can I make JIRA-123-feature be displayed in branch on JIRA-456 development panel?

I tried git commit -m "JIRA-456"; git push origin JIRA-123-feature but this only makes the commit show up in commits on the development panel: JIRA-123-feature is not displayed in branch

1 answer

0 votes

The branch shows up only when the branch name has the key in it.

You can probably try naming the branch with 2 issue keys but I have never tried it. Not sure if it will work or not.

Thanks Jobin, but how can I name the branch with 2 (or more) issue keys, when I don't know if there will ever be any second or more issues, and which jira keys they will have. And renaming the branch afterwards is not going to fly with development...

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,864 views 12 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