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?
Community moderators have prevented the ability to post new answers.
Hello @ankit45621 ,
I believe the details you are looking for could be pulled from the API. Using the API you can pull both the issue ID and the issue Key for a specified data set.
You can use "GET /rest/api/3/issue/{issueIdOrKey}" to get individual issue details or ""GET /rest/api/3/search" with a JQL input to get detaisl on a set of issues meeting a speciffic criteria.
Regards,
Earl
@Earl McCutcheon Thanks for answer but there is detail of ticket except bitbucket commit hash code. Like:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ankit45621 ,
Ok got ya, sorry for the confusion.
I believe you can get that from the Private endpoint under the "/rest/dev-status/" returned as the "displayId" as detailed in the following feature request to add in Public endpoints for these details:
Check this out and let me know if it works for you, noting the endpoints are currently unlisted and can change without notice until the public endpoints are implemented as a full feature, so please do make sure to add a vote to show your interest.
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.