Hi all. I want to find epics where the epics is still open, but the child issues of the epic are all resolved (done, complete, cancelled, etc.) I want to return the results for epics.
I have JQL Extended Search, not Scriptrunner.
I tried the query below in JQL Extended Search, but my results are returning the child issues instead of the epic. Additionally, the results are for any child issue that is done. I only want epics where all of its child issues are statuscategory = done.
Thoughts?
project in (X,Y,Z) and statusCategory = Done AND issue in childrenOfIssuesInQuery("type = epic and statusCategory != Done")