Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Track Epics with Specific child issues

Edited

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:

  1. Tracking Epics with Specific Child Issue Types:
    • How can I set up a filter or a query to identify Epics that have child issues of certain types? I'd like to keep an eye on these Epics as they progress through various phases.
  2. Identifying Epics without Specific Child Issue Types:
    • Conversely, how can I create a view that shows Epics that do not have any child issues of specific types? This would help me identify Epics that may need additional work in those areas.

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!

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 27, 2023

Hello @Khara Lynn Barreto Fernando 

Welcome to the Atlassian community.

This link is for the page for the JQL Functions information for ScriptRunner for Jira Cloud:

https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions

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

https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search

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

https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions#epicsof

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.

Hey trudy thanks so much for this, but I realize that I can't use scriptrunner. So I'll have to ask a different question. Leaving this up however to help others

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events