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
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

25 views 0 2
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