Forums

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

Have you seen this bug? --> labels = empty

Bruce Hartman
Contributor
March 1, 2022

I am doing this search:

assignee = currentUser() AND labels not in (XXX, YYY, ZZZ) ORDER BY priority DESC, updated DESC

and I get zero results....

yet if I do this..

assignee = currentUser() ORDER BY priority DESC, updated DESC

I get results, including tickets with Labels = None

1 answer

2 votes
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.
March 1, 2022

I can't see a "bug" there, just the (unintuitive for humans, but actually useful) quirk that if you want to see things that do not have a label set at all, you need to ask for it.

Try:

assignee = currentUser() AND (labels not in (XXX, YYY, ZZZ) or labels is empty) ORDER BY priority DESC, updated DESC

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events