Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,551,709
Community Members
 
Community Events
184
Community Groups

Labels Filter "NOT IN" is not working.

Hi

I have a filter project = SF AND issuetype = Task AND (labels not in (KDD)).

It is a simple filter where i want to see all issue types tasks where we do not have a label "KDD". If i do "IN KDD" it works fine however "NOT IN" or "!=" does not work. I have tried different iterations reading blogs but nothing is working e.g.

project = SF AND issuetype = Task AND labels not in KDD.

project = SF AND issuetype = Task AND labels != KDD.

etc.

 

2 answers

3 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 22, 2022

Welcome to the Atlassian Community!

My guess is that it is working fine, but you were expecting issues with no label to appear as well.  "Not in" can only work with labels that have a value.

Try 

project = SF AND issuetype = Task AND (labels not in (KDD) or labels is empty)

akanksha jaiswal
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!
Mar 27, 2023

Thank you , that gives right results

Like Nic Brough -Adaptavist- likes this
0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 22, 2022

@Adeel Sarwar -

Welcome to the community.  You just missed the following syntax in your JQL.  Give the following JQL where Label value is enclosed with " " characters.  This will work.

project = SF AND issuetype = Task AND labels not in ("KDO").

project = SF AND issuetype = Task AND labels != "KDD"

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events