Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

1 accepted

1 vote
Answer accepted

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:

Capture.PNG

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

Like ankit45621 likes this

@Earl McCutcheon Thanks you very much. This really help me.

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

130 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you