I'm able to find Epics where there are children that are In Progress with this ScriptRunner query:
issueFunction in epicsOf("project in (PrjA,PrjB) AND issuetype in standardissuetypes() and status not in ('To Do',Done)") and project in (PrjA,PrjB)
Now I want to find find epics where all the children are in a status of "To Do", and no other status
Any suggestions on that?