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

1 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

76 views 0 5
Read article

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