Sorry if this has been asked many times before, but previous answers aren't working for me.
I have Scriptrunner installed, and would like the JQL to return all my issues and subtasks of those issues for a particular Epic.
Many thanks :)
I believe this is what Gezim is suggesting, but the basic JQL to return all the issues in a set of Epics, along with the sub tasks of those issues would look like:
issueFunction in issuesInEpics("key in (EPIC-12345, EPIC-67890)") OR issueFunction in subtasksOf("'Epic Link' in (EPIC-12345, EPIC-67890)")
Just insert your Epic keys for the italics text.
The Adaptavist recommendation involves creating two filters, but I find it easier to do it all in one.
Hi,
You can use this:
issueFunction in issuesInEpics("labels in (AWS)")
issuesInEpics - returns all issues of epics in subquery ().
In my case I searched for all epics containing the label AWS, but you can simply replace that with the issue key only for 1 Epic.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi i tried this...
issueFunction in issuesInEpics("ICS-526")
Where ICS-525 is the epic that I want to get the issues and sub-issues for. It didn't work. I think I'm missing some jql.
Just to confirm, does your script above include the issues, as well as the issue sub-tasks?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would have to also add
issueFunction in subtasksOf(....)
Subtasks of issues have no information if issue is related to an epic or not. The subtask can be related though
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kindly mark as accepted, if it solved your issue.
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.