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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Catherine I'm New Here Feb 18, 2021

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
Fazila Ashraf Community Leader Feb 18, 2021

Hi @Catherine 

Can you try 

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

Catherine I'm New Here Feb 18, 2021

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

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? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

752 views 12 19
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