So here's the situation. I have a JQL query that returns a list of stories.
To keep it simple, let's use the query below as an example:
PROJECT = HakunaMatata AND issuetype in (Story) and Status in (Open) ORDER BY EpicLink
As the next step, I need to derive the list of unique epics that are being pointed to by one or more stories from the query above.
My question: Is there a way to produce the final result (list of unique epics) for the stories that meet the criteria in the above query, using a single JQL statement? If not, then what is the best way to accomplish it using JQL?
If it helps, the stories have a fixVersion on them, but the epics don't (the field is empty).
I'd greatly appreciate any help I can get! Thanks in advance!