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 can i get all issues with commit details ? using REST API ?

Bhuvana Balakrishnan
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!
November 21, 2017

I want all "Resolved" issues with comments & commit details. How can I get it ?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
J van Leeuwen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2017

Hello Bhuvana, 

I would recommend installing the Atlassian REST API Browser to see which endpoints are available. Depending on the version of Jira that you are running, you should be able to hit the endpoint: api/2/search to execute a JQL search. For example, to find all issues with the status 'Done', you could call:

GET http://<jiraserver>/rest/api/2/search?jql=status%20%3D%20Done&fields=*all

The parameter *all* tells it to include all fields.

See this tutorial for more examples: JIRA REST API Example - Query issues

Hope this helps!

- Jennifer

TAGS
AUG Leaders

Atlassian Community Events