Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL - Filter to exclude specific labels

emese sonnenschein
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2024

Hi,
I have to use 2 labels, label x and label z, for specific reasons.
But I need to create a filter to get all issues with label x but not with label z.

Is it possible somehow? I have tried IS NOT in vain.

Any suggestion?

1 answer

1 accepted

1 vote
Answer accepted
Dexter de Vera
Community Champion
May 9, 2024 edited

Hi @emese sonnenschein ,

Welcome to Atlassian Community,

In Jira JQL, you cant filter only specific Label without indicating the labels that needs to exclude.

But base on your case you want to search all issues with label x only excluding label z.

This JQL is the closest to it without plugins.

labels = "label x" AND labels NOT IN ("label z")

You can add additional label in NOT IN to exclude other labels.

 

Hope it helps!

emese sonnenschein
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 10, 2024

Thank you for your reply @Dexter de Vera 
I'll try that out.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events