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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

166 views 0 5
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