Hi all,
because we are lacking a higher level than the epic we introduced the issue type "feature". A "feature" can have 1 to n epics, while an epic can have 1 to n stories. What I am now struggling with is to get all stories where the epic is linked to a specific feature. I thought of a nested jql query but this is not really working. Something like that
"Epic Link" in ("issue in linkedIssues(PLS-1)") -> "PLS-1" is the "key" of the "feature"
would be very cool, but unfortunately this is not working. Any ideas how I can solve this? Many thanks in advance.
Best Sabine
Sabine,
I am going to assume based on your question that you have ScriptRunner installed. That being the case you can perform a recursive JQL query to pull the entire hierarchy. To use ScriptRunner to pull this off use this command:
issueFunction in linkedIssuesOfRecursive("Issue = PLS-1")
Now this will recursively traverse all the way down the hierarchy from PLS-1 grabbing all of the Epics linked to the Feature and all of the Stories linked to the Epic then all of the Sub-Tasks linked to each Story. If you wish to limit the depth you can also use the linkedIssueOfRecursiveLimited command.
Regards,
Bryan McMillan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You could use the Power Scripts add-on:
Your JQL query would look like this:
key in issueInEpics("key in issuesLinkedAtDepth(\"key = PLS-1\", \"LinkType\")")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sabine,
Alexey's solution/answer is far better though.
Regards,
Bryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.