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 vote
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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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