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
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot