JIRA filter - omit label

I’m trying to get a filter to show JIRA that do not include a certain label, but I’m hitting a wall with the logic.  When I use “AND NOT” it excludes JIRA that shouldn’t be excluded, and if I try to use “labels is not “ I get an error about “is not” isn’t used for non-empty values of the field “labels”.

 

The filter query is this, and I’ve bolded where I’m having issues:

project = ODSY AND "Found By" = GVP AND status in (Open, "In Progress", Reopened, Resolved, "Info Needed", "Needs Review", "Insufficient Info", Pending, Triaging) AND NOT labels = ODSY_KANBAN_FTL_TRIAGED

 

Is there a way for my filter to show JIRA that do not have the ODSY_KANBAN_FTL_TRIAGED label?

1 answer

1 accepted

To check for all issues that do not have the ODSY_KANBAN_FTL_TRIAGED label you need to add:

project = ODSY AND "Found By" = GVP AND status in (Open, "In Progress", Reopened, Resolved, "Info Needed", "Needs Review", "Insufficient Info", Pending, Triaging) and (labels != "ODSY_KANBAN_FTL_TRIAGED" or labels is EMPTY)

This will also include issues without any labels - remove the last part of the query if you want to only look at issues which have at least one label.

More information and examples can be found in the documentation.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

298 views 3 11
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you