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: 

Get Issues which has Status Open

Max Mustermann
Contributor
October 28, 2022

I only want to output the issues that have the status OPEN. The issues should also be issued in the order in which they are sorted in Jira.

This should be given with jql as a parameter.

This is what my current GET request looks like:

https://jira.<company>.de/rest/api/2/search?jql=project%20%3D%20<project> and Status = "OPEN"

Not all issues are issued with the status Open, and issues with a different status are also displayed.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
David Berclaz _Apwide_
Community Champion
October 28, 2022

Hi @Max Mustermann

I tried it on my test instance and this worked well:

/rest/api/2/search?jql=project%3D"ECP"%20AND%20status%3DDone

Make sure you replace your spaces with %20. The easiest is to build your url from the Jira search page, and copy-paste it into your API call.

Let me know if you need further assistance.

Have a nice day,

David

TAGS
AUG Leaders

Atlassian Community Events