Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,516
Community Members
 
Community Events
165
Community Groups

How do I filter out backlog items with certain labels?

I have a bunch of tickets in my backlog with the label "airbrake". I want to filter those out with a custom filter. I tried looking this up on communities and used the exact queries recommended (just replacing my project name and label name). 

I've tried a bunch of variations of the following queries. When I write the queries, I use the autocomplete from Jira for each part. Instead, these filters remove all issues from my backlog, even items not labeled with airbrake. 

project = SolaceProject AND labels != airbrake

project = SolaceProject AND labels != "airbrake"

project = SolaceProject AND labels not in ('airbrake')

Etc.

What am I doing wrong? Thank you!

2 answers

Try this:

project = SolaceProject AND (labels not in ('airbrake') or labels IS EMPTY)

 

It seems not logical at the first sight but you have to let this JQL to include issues with empty labels

0 votes
John M Funk Community Leader Jun 23, 2022

Hi Solace  - Welcome to the Atlassian Community!

Try using this:

project = SolaceProject AND (labels != airbrake or labels is empty)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,111 views 34 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you