The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to see git commits for a JIRA issue

Joris Debonnet
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2015

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Juan Peraza
Contributor
June 15, 2015

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.

0 votes
Joris Debonnet
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2015

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?