How to see git commits for a JIRA issue

I got a JIRA Agile trial, and succesfully connected our Bitbucket account (i.e. I see our repositories under Addons > DVCS Accounts).

I can succesfully create a new branch for an issue, but I can't seem to figure out how to see the commits that have been made on that branch. I only have a section "Development" which mentions the 1 branch that was created, with an option to create more branches. I get the impression that a section "Commits" (or something) is simply missing, and I don't know why. In JIRA Agile, I've seen the little branch-icon in several screenshots online, but I only see the {} icon.

How to activate this section, so I can see the commits on a branch that is (already succesfully) attached to a JIRA issue?

2 answers

Sorry for asking the obvious, but do the commits you're expecting to see have checkin comments that reference a JIRA issue?  In order for commits to appear in the Development section of an issue, I believe the commits must contain the id of the JIRA issue in the checkin comment.

Okay, I assumed that simply by being in the branch (such as D2H-1-create-models), it would show up. I tried another commit by mentioning the issue in the commit message, and indeed it shows up: right under "1 branch" I now also see "1 commit".

I still don't get that separate section "Commits" though, which I do see in the animated picture under "Get Git right" on this page. My hope is that this would be something more 'automated', i.e. all commits on the linked branch(es). Perhaps this is only available for self-hosted JIRA and Stash then, and not for the Cloud version?


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,187 views 5 10
Read article

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