I am trying to execute below JIRA query to fetch the issues like User story, Defect, Task & Subtasks underneath a defect, task and story are also not in completed status. Basically, it should show all the stories, defects & tasks, which meets following criteria,
1) Story/Defect/Task is in 'OTHER THAN COMPLETED' status but subtask/s are 'COMPLETED' status
2) Story/Defect/Task is in 'COMPLETED' status, but subtask/s are in 'OTHER THAN COMPLETED' status
3) Story/Defect/Task is in 'OTHER THAN COMPLETED' but subtask/s are also 'OTHER THAN COMPLETED' status
project = ABC AND "Assigned Team" = "XYZ" AND issuetype in (Story, Defect, Task) AND status != "Completed" AND sprint in openSprints() AND issueFunction in subtasksOf("status != Completed")
I did execute above query but giving me zero results. I cross-verified against JIRA board, most of my stories and subtasks are in To-Do, in progress statuses as sprint started 3 days ago only.