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

How to filter epics without stories by using JQL?

I want Epics which don't have any story attached.

2 answers

Hi Muskan,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

Search all Epics without Stories

type = Epic and issue NOT IN epicsOf('"Epic Link" IS NOT EMPTY')

 

Using this app you can also query other issues relations, check:

 

References:

 

Hope this helps you to create awesome queries <3

Kind regards

3 votes

Hi @Muskan Shaikh 

project = PROJECT and issuetype = Epic and issueFunction not in hasLinkType("Epic-Story Link")

or

project = X and issuetype = Epic and issueFunction not in epicsOf("project = X")

issuefunction is something that might be available with scriptrunner plugin and you might need a scriptrunner plugin to achieve this

it shows like: Field 'issueFunction' does not exist or you do not have permission to view it.

Like Jay Smith likes this
Ganesh Babu Community Leader Jan 27, 2020

Yea issueFunction is available only with scriptrunner plugin.

so you might need that in order to achieve this.

I am not sure how to search with plain jira

This worked perfect, thank you!!

 

 issuetype = Epic and issueFunction not in epicsOf("project = X") 

Like Ganesh Babu likes this
Ganesh Babu Community Leader Jul 09, 2020

Hi @Shaun Rucker 

cool...!!!

What if I have 2 projects like Project =X  and Y.

appreciate your help.

im looking for features which donot have stories in projects X , Y And Z

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

84 views 0 1
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