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

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


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


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!


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
Community Members
Community Events
Community Groups

How to find open issues in closed epics

I want to obtain a list of issues which are in the state "todo", but are in epics which have been closed as "done"

3 answers

1 vote
Jack Nolddor [Sweet Bananas]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jul 02, 2020


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 if you are on Server / DataCenter, you can type the following:


1) Search for Open issues in closed epics

status = Open AND issue IN issuesInEpics('  status = Closed ')

Alternatively, using resolution field....

resolution = Unresolved AND issue IN issuesInEpics(' resolution IS NOT EMPTY ')

(*) Note that this is just an example, you must tune above query to fit your needs.


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



Out-of-the-box JIRA does currently not support this.
You need one of several possible extensions.

We are using Scriptrunner. Which I believe solves this elegantly with its extended JQL functions. To solve the example above, I would write:

issueFunction in issuesInEpics("status = done") and status = todo

That should do it.


Breaking it down:
To get access to any Scriptrunner function you start by writing. Syntax suggestions will appear after that

issueFunction in

In this case, use a specific Scriptrunner function "issuesInEpic" to return all issues under Epics matching the parameter in the function. The parameter can be any complexity of JQL.

issuesInEpics("status = done")


This result combined with normal JQL filtering to find only the ones in state "todo".

and status = Todo


0 votes
Derek Fields
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jul 02, 2020

You need an app like Scriptrunner that adds a JQL function that allows you to use a sub-query in your JQL. Scriptrunner provides a function called "issuesInEpics" that does what you want.

Nowhere near enough information in this answer, such as an example JQL that would illustrate how this function would be used to meet the OP.

I have written a full answer to this using Scriptrunner

Suggest an answer

Log in or Sign up to answer