I am not able to frame a JQL query to find out the below. Can anyone help me with it?
Our JIRA project has Stories linked to Epics.
I need to find out all stories that have been assigned to Epics AND the Epic that these stories have been assigned to have an Epic Status as Done.
Update [Found the Solution]
I was able to finally resolve this issue with help of some JQL experts. The below query did the trick. Pardon my ignorance about JQL functions. But that is something I learnt can really enrich the JQL queries.
issueFunction in issuesInEpics('project in (XXXXXX) AND status = "Done"') and issuetype = Story and status not in (Done, Descoped, Deleted)
XXXXXX - JIRA Project Key