You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I tried to create a filter:
issuetype = Epic AND issueFunction in issueFieldMatch("", "issuetype in (Planning, Design)")
Got this response:
The "issueFieldMatch" JQL function provided by "Adaptavist Scriptrunner" for Jira Server works differently in Jira Cloud. Run it directly in "Enhanced Search" instead. See the documentation for more details: https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-jql-keywords-functions
but of course that link is a 404 dead page
I want to create views that help me understand which Epics have specific child issue types, and conversely, which Epics do not have any child issues of those types.
Here are my two main goals:
I'd greatly appreciate any insights, tips, or JQL queries that can help me achieve these tracking objectives.
Thank you in advance for your assistance!
Welcome to the Atlassian community.
This link is for the page for the JQL Functions information for ScriptRunner for Jira Cloud:
In Jira Cloud most of the ScriptRunner JQL functions cannot be used directly in the Advanced Search/View All Issues screen. Instead you have to use a new interface called ScriptRunner Enhanced Search to create the filters that use those functions. For more info about that interface you can refer to
You can build the filters and save them there, as well as execute them there. You can also execute those saved filters in the View All Issues screen using this JQL:
filter ="Name of your saved filter"
As to the queries you are trying to build:
To find Epics that have at least one child issues of certain types use the epicsOf function
issueFunction in epicsOf("issueType in (X, Y, Z)")
I'm still working out how to do the second filter. It is not as simple as changing the above to "issueType not in ()". That would get you all the Epics that had a child issue that is not one of the specified types, but that is not the same as saying the Epics don't have any child issues of the specified types.