Reputation: 23
I am trying to get the Epic issue key using the issue key of one of its stories. What would be the query that gives in this result.
Thanks.
---update---
Let's suppose there is an EPIC : PG-01, and a story which is linked to it PG-02, I tried searching with "Epic Link" in ("PG-02"), doesn't give the expected result
Upvotes: 2
Views: 1461
Reputation: 3670
Don't know of a way to do this with JIRA out of the box, but the Script Runner add-on does provide a JQL function that supports this. You can use a query like this one:
issueFunction in epicsOf("key = MYPROJECT-2")
Documentation is available here.
Upvotes: 2