Here is a specific filter I am trying to create:
"Custom Field[Select List (multiple choices)]" in ("SomeValue")
This will return a few specific Epics. This works, but I would also like to include the child issues of these Epics. Currently, we do not copy the field value down from Epic to Child through automated actions or post functions. I am currently using automated actions to achieve this, but I would rather not (See edit below).
Looks like others that have asked this have received responses pointing them to plugins for Server version. We are on Jira Cloud. I do not see plugins like scriptrunner, jql tricks, or jql search extensions for Jira Cloud.
Edit
For the time being, I have achieved this using two automated actions:
You can see I update the Epic's child issues if I change the field in the Epic, and I also update the field in the child when I create a child issue. I dont like this method because there are so many ways to create/update issues and I have to create an automated action for each use-case.
Hi Richard,
I can confirm that in ScriptRunner for Jira Cloud you can search for issues located inside of an Epic using the issuesInEpics() JQL function and this documentation page will show examples of how to use this.
Also,I can confirm that in JIRA Cloud you can only use the issueFunction() JQL function provided by ScriptRunner on the Enhanced Search page as described in the documentation here.
This is due to the way that Atlassian restrict how the JQL functions can interact with their infrastructure meaning we must run them in a sandbox process.
However this does not mean that they cannot be used inside other filters inside other filters or on filters for Agile boards, and to use the functions in other filters then you will need to follow the steps outlined below.
filter =
"<NameOfFilterHere>"
I hope this information helps.
Regards,
Kristian
I was able to achieve this using scriptrunner with the following query. First I had to build the inner query that would return all the Epics that had a custom field value of "Something":
issueFunction in issueFieldMatch("type = epic", "customfield_10111", "Something")
I named this filter "FilterName"
Note: customfield_10111 was populated after I selected the field I wanted from the drop down list.
Then I created the outer query that searched for issues within the Epics, and the Epics themselves:
issueFunction in issuesInEpics("filter = "FilterName"") OR filter = "FilterName"
I named this filter "MyFilter"
I could then build a filter using the following JQL:
filter = "MyFilter"
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.