Can I get list of tasks/issues which are in To-do/ Done/ In Progress in Jira board with rest api

Anushka_Sharma February 12, 2020

I want to get specified tasks or issues which are filtered according to their status in a project like to-do, done, In-progress

2 answers

2 accepted

0 votes
Answer accepted
Anushka_Sharma February 24, 2020

I used this "/rest/api/2/search?jql=project%3D${projectName}%20AND%20(status%3DDONE)" and it worked.

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2020

Hello @Anushka_Sharma

Welcome to Atlassian Community.

Per your description, I believe you are trying to get all the issues you have in the statuses "To do", "In Progress" and "Done", grouping the results per status. Is that correct?

You can return that information using the REST API below, updating "yourdomain.com" with your current site URL:

https://yourdomain.com/rest/api/2/search?jql=status+in+%28%22In+progress%22%2C+%22To+do%22%2C+done%29+order+by+status

You can check more about Jira Rest API and practical example in the documentation below:

Jira Server platform REST API reference - 8.7.0 

Searching for issues examples 

Let us know if you have any questions.

Anushka_Sharma February 24, 2020

Heyy Thanks, My solution is little diffrent but your solution will also work.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2020

You are welcome, @Anushka_Sharma

Have a nice week!

Suggest an answer

Log in or Sign up to answer