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

This widget could not be displayed.
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").

Bingo, thanks!  

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

266 views 1 3
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