I have a query to show only parent and subtasks for a subset of tasks. It has been working great. However, when I closed a parent task today, the parent task is removed from the gantt but all the subtasks still show.
I thought there was something wrong with the filter I was using so I went to edit the filter, and find that the unwanted subtasks do not appear in the filter results.
My scope definition screenshot:
Filter code: issue in subtasksOf("Project = XXX AND \"Project Scope\" in (YYY) AND issuetype = Project AND status not in (Closed, Cancelled, Resolved,Done)") OR Project in (XXX) AND issuetype in (Project) AND status not in (Closed, Cancelled, Resolved, Done) AND "Project Scope" in (YYY)
Hoping someone can help point out what I'm doing wrong.