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,463,473
Community Members
 
Community Events
176
Community Groups

JQL: filter issues based on label and not a specific Epic Link

Hello all,

I can create a filter to return all issues where:

labels = Dev_Review AND "Epic Link" = 1233

However, if I try to filter all issues that don't have the 1233 Epic link it doesn't return anything when there are at least 4 issues:

labels = Dev_Review AND "Epic Link" != 1233

 

Any help is greatly appreciated.

2 answers

0 votes
John Funk Community Leader Feb 18, 2021

Hi Catherine - Welcome to the Atlassian Community!

You have to use the is empty to get the correct results. Fazila's JQL is correct. 

What is it returning that you are not expecting to see? 

0 votes
Fazila Ashraf Community Leader Feb 18, 2021

Hi @Catherine 

Can you try 

labels = Dev_Review AND ("Epic Link" != 1233 OR "Epic link" is empty)

Hi @Fazila Ashraf ,

I don't want to use "Epic link" is empty, because I don't want to remove all issues with Epic links, just the specific epic link 1233

Fazila Ashraf Community Leader Feb 18, 2021

@Catherine  , note the OR operator in ("Epic Link" != 1233 OR "Epic link" is empty)

The 4 issues that you expect to be returned for your query 'labels = Dev_Review AND "Epic Link" != 1233' , do they all have a proper epic link?

Hi @Catherine, yes, this labels = Dev_Review AND ("Epic Link" != 1233 OR "Epic link" is empty) - should work for you. 

For the next cases when you won't know how to build a complicated request next time, you can try Dynamic Filter: JQL Replacer for Jira (created by my team).

It has the flexible builder that allows creating requests without JQL knowledge.

завантаження.jpg

Regards

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events