Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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!


jql to retrieve epics that are done but their parent hasnt started yet

Ravi Tata
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 21, 2023

For context we have the following issue Hierarchy set up
Initiative > Milestone > Epic > Stories, Tasks, Bugs

Stories Parent is Epic
Epic Parent is Milestone
Milestone Parent is Initiative

Each issue type has its own workflow and statuses associated to it.

I want to write a query that returns me a list of all Epics whose status is DONE, but their Parent (i.e Milestone) status is still in Backlog

We use ScriptRunner and tried this but didnt work, im looking for ideas from people who have experienced something similar in their space , Thanks

(issueType = Milestone and status = Backlog) and issueFunction in parentsOf("(issueType = 'Epic' and status = DONE )")

1 answer

1 vote
Charlotte Santos -Appfire-
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.
Sep 22, 2023

Hi @Ravi Tata 

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, using vanilla JQL, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all the Epics whose status is done, but their Parent status is backlog:

issue in childrenOfIssuesInQuery("type=Milestone AND status=Backlog") AND status=Done

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!

Best regards,


Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events