Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

253 views 1 5
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