Forums

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

How do filter on lables w/ an AND statement

Jeremy Schloss
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!
March 3, 2022

I am trying to filter in my JIRA enviroment across two different labels.  At the moment its only filtering as an "OR" statement but i would like it to filter as an "AND" statement.  the Comma (,) seems to represent the OR but need the equivalent for the "AND".

 

Thank you

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 3, 2022

Hi @Jeremy Schloss -- Welcome to the Atlassian Community!

I am guessing that you are trying the labels IN (blue, green) set membership syntax, which would be a logical OR of the values.  Please try this instead to confirm that all desired labels are in the issue:

project = myProject AND labels = blue AND labels = green

In case you know SQL, the above should return nothing...but JQL is not a SQL.  :^)

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events