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

Advanced Search for finding all issues related to an Epic

I have an Epic that has several stories and tasks, that, in turn have sub-tasks.

Is it possible to write a JQL to find all of the stories, tasks and sub-tasks that are tied to an Epic in Jira? 

So far I've only been able to retrieve the stories and tasks using "Epic Link" = epic ref.



2 answers

0 votes


You can not do it out of the box. You would need an app for it like Power Scripts, ScriptRunner, JQL Extensions for Jira, J-tricks and so on.

If you want to use the Power Scripts app, then you could write a JQL query like this:

"Epic Link" = your epic or key in subtasksOf("\"Epic Link\" = your epic ")

Hi @Linda Marshall 
If you want to use ScriptRunner, you could write a JQL query using issuesInEpics like :

You can go the other way, e.g. find all stories for open epics in a project

issueFunction in issuesInEpics("key = your epic")

 Hope it helps !

@Linda Marshall  you can use  JQL Search Extensions for Jira & reports, it have amazing built in queries which solve almost all reporting issues.  

For your case you can use the following query 


issue in allIssuesInEpic(EPIC ID)

It will get all issues belongs to the epic you provided along with any sub tasks.

Suggest an answer

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

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,469 views 22 32
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