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,461,804
Community Members
 
Community Events
176
Community Groups

Help w/ JQL in JSM - Using != and = in same query not working

Hello,

I am using the below JQL in a JSM queue trying to exclude a label = backlog and it is not providing me all of the work items w/o those that are not equal to backlog. I've tried all kinds of renditions of this; placing the labels != portion at the end, within quotation, etc. and I am not getting what I need. Can anyone help me establish the right way to establish this JQL within a JSM queue? I want all work items that are unresolved and within those states that do not have the label = backlog. Thanks in advance.

 

labels != Backlog AND status in ("Awaiting CAB approval", "Awaiting implementation", Escalated, Implementing, "In Progress", Open, "Peer review / change manager approval", Pending, Planning, Reopened, Routed, "Under investigation", "Under review", "Waiting for approval", "Waiting for customer", "Waiting for support", "Work in progress") AND resolution = Unresolved ORDER BY "Time to resolution" ASC

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Jan 23, 2023

When you are searching and trying to exclude labels (and components) you also have to account for issues that do not have a label at all. So try this:

(labels != Backlog OR labels is EMPTY) AND status in ("Awaiting CAB approval", "Awaiting implementation", Escalated, Implementing, "In Progress", Open, "Peer review / change manager approval", Pending, Planning, Reopened, Routed, "Under investigation", "Under review", "Waiting for approval", "Waiting for customer", "Waiting for support", "Work in progress") AND resolution = Unresolved ORDER BY "Time to resolution" ASC

Ah yes.....that was it. Thanks, Mikael.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events