The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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!

TAGS
AUG Leaders

Atlassian Community Events