How to search for status types - e.g. yellow, blue, green - "To Do", "In Progress", "Done"?

I'd like to write a query that finds all issues in a project that are currently in the backlog, all that are in delivery and all that are done.  The way I know these statuses is the green/blue/Yellow colours in the workflow - is that data available anywhere to JQL or would I have to write the query to explicitly include every status?

 

E.g. I have, Demand Plan (to do), Backlog (to do), In Development (in progress), Testing (in progress), UAT (in progress), Done (done) - something like (meta):

select where project = Myproject and status.type = "in progress" 

 

should give me anything in myproject that's "in development", "Testing" or "UAT"...?

2 answers

1 accepted

0 votes
Alex Christensen Community Champion May 22, 2017

The status category is searchable in JQL. For example:

project = "My Project" and statusCategory in ("In Progress")

This should return any issue in "My Project" that has a status in the "In Progress" category (in your case, that would include statuses "In Development," "Testing," and "UAT").

0 votes

Try using the clause

statusCategory = in progress

It's an advanced JQL function

Only reason I'm picking the other solution is because it appears the statusCategory is case sensitive...  But 99% right!  Thanks.

It offers you a selection as you type, so I never bother being fussy about case.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot