Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dashboard Filter for multiple status

Dave Eade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2024

Hi, I have a Porject with 1,000 of issues - there are about 25 different "status" which can be used.

 

How do I construct a filter using JQL that detects multiple status - I've used this below but it doesn't work - any help greatly appreciated!

 

issuetype = task AND project = "New Project" AND status = "backlog" or "In Progress"

2 answers

2 accepted

1 vote
Answer accepted
Kristine Weiß
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2024

Hi Dave, 

if you want to use the operator =, then you can try this:

issuetype = task AND project = "New Project" AND ( status = "backlog" or status = "In Progress" )

Another option is

issuetype = task AND project = "New Project" AND status IN ("backlog", "In Progress")

Since you mentioned that you have plenty of status, the second option is probably the better one.

Best regards, Kristine

Dave Eade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2024

Many Thanks - if I wanted to exclude status' - would the syntax be NOT IN?

Thanks

Dave

0 votes
Answer accepted
Laurie Sciutti
Community Champion
January 11, 2024

Hi @Dave Eade ~ you may also be able to use statusCategory, which allows you to pull (or exclude) any of the 3 status categories (To Do, In Progress, Done).  This is especially helpful when you want to search based on Open (To Do, In Progress) or Closed (Done).  HTH

 

Ref:  https://confluence.atlassian.com/jirakb/how-to-search-using-statuscategory-statuscategorychangeddate-function-with-jql-1115669437.html 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events