I found a quirk in JQL when selecting - among other things - based on the labels of a ticket:
... AND Labels not in (CR) ...
did not select those tickets with an empty labels field
... AND (Labels not in (CR) OR Labels is EMPTY) ...
selects the tickets with empty labels, too.
Is this a feature or a bug?
P.S: the complete query:
project = "<project>" AND status not in (closed) AND type not in (Epic, "Technical task") AND summary !~ "ALL STORIES" AND summary !~ "NEW Tickets" AND summary !~ "Tickets on hold" AND (Labels not in (CR) OR Labels is EMPTY) ORDER BY status DESC
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG