Forums

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

How can I search for a particular 'label' and also get all the issues that have an empty lable field?

Rick Wolfe August 17, 2016

This question is in reference to Atlassian Documentation: Performing Text Searches

I want to do an advanced search for a particular 'label', but I also want to include all issues where the label field is empty. What is the proper syntax for doing that search?

1 answer

1 vote
Nic Brough -Adaptavist-
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.
August 17, 2016

Should be

Labels = x or labels is empty

Rick Wolfe August 17, 2016

Actually, what I was trying to do was a search that would exclude a particular label, but include all the issues where the label was empty. This appears to work... AND (labels != "XXX" OR labels is EMPTY)

Nic Brough -Adaptavist-
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.
August 17, 2016

Ah, I couldn't see that from the question, but glad we got you there!

Suggest an answer

Log in or Sign up to answer