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: 

Is there any way to get commit hash codes for particular ticket from Jira

ankit45621
February 10, 2021

Hello,

I am new in Jira. I am trying to get commit Hash code/ commit ids from Jira using Jql but got Jira id if i use `development[commits].all > 0`  but i want only commit ids not jira ticket. 

Please let me know is there any way to get commit hash codes for particular ticket from Jira?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hana Kučerová
Community Champion
February 11, 2021

Hi @ankit45621 ,

JQL is always returning list of issues, so you won't be able to get list of commits this way.

There's issue detail view and development panel, where the list of commits is available.

Or you can search through the commits directly in the Bitbucket

The most important is to use Jira issue key in commit messages to be able to link issues with commits.