I am trying to find all open issues within a certain state where they exceeded their due dates and that have all their child tickets closed. I have generated the following statement but keep getting results where a couple of the child tickets are still open:
project = PROJECT1 AND issuetype = "INTAKE Request" AND status = Initialization AND resolution = Unresolved AND issueFunction in linkedIssuesOf("status in (Closed, Completed, Cancelled)", "Dependency For", "relates to", "is related to") AND "Expected Completion Date" <= -1d
The goal is to identify open issues in the final status that have not been closed when all the child work (child tickets) are done.
Thank you in advance for any assistance.