Forums

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

JQL to exclude one particular label but to include empty label stories

Vikneshprabu Kanagasabai
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!
February 9, 2022

Hi All,

 

Is there any solution for the below query , I wanted to exclude jira tickets with a specific filter say "A" but also wanted to include jira tickets with empty labels. I tried below and didn't worked. Any suggestions?

JQL I tried : labels != A AND labels is empty(I also tried with labels = none as well didn't worked)

1 answer

1 vote
Mark Segall
Community Champion
February 9, 2022

Hi @Vikneshprabu Kanagasabai and welcome to the community.  You're close.  You need to use OR instead of AND

labels != A OR labels is empty
Vikneshprabu Kanagasabai
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!
February 9, 2022

@Mark Segall , It worked. Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events