Jira scriptrunner function linkedIssuesOfAll for child tickets not working?

Patrick Madigan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2024

Jira Data Center V9.12.0

Adaptavist ScriptRunner for Jira V8.21.0

 

Looking to pull out child ticket issues from parent ticket issues using ScriptRunner Function

LinkedIssuesOfAll.  Read similar issue with

https://community.atlassian.com/t5/Jira-questions/Jira-query-issueFunction-in-linkedIssuesOfAll-quot-filter-A-quot/qaq-p/2120664 and Notes from Trudy Claspill.

Environment Comcap=Projects at our Company

Comepic - Tracking name by customer or program

I looking to screen child tickets from Project/Comepic/Parent Issue Ticket/Child Tickets.

Filters that work are as follows:

issueFunction in issuesInEpics("'Parent Link' = Project-8") ORDER BY Rank Desc (Filter-8)

issueFunction in issuesInEpics("'Parent Link' = Project-30") ORDER BY Rank Desc (Filter-30)

issueFunction in issuesInEpics("'Parent Link' = Project-9") ORDER BY Rank Desc (Filter-9)

These filters provide the parent ticket issues for these three projects or Comcaps.  I save these three filters 8,9,30 and use the following function that does not return the child ticket issues.

issueFunction in LinkedIssuesOf("'Filter' = Filter-8") ORDER BY Rank Desc

or

issueFunction in LinkedIssuesOfAll("'Filter' = Filter-8") ORDER BY Rank Desc

These functions return the Parent issue tickets, Parent Comepics, and Comcap Project for the project, but do not return the child issue tickets.  There are child issue tickets available.

I did verify in the ScriptRunner JQL Function admin screen that these functions are active and have no failures in many executions. 

Looking for some advice on how to pull out and track child tickets. 

 

Thank you,

Patrick

 

 

1 answer

1 accepted

1 vote
Answer accepted
Patrick Madigan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2024

Folks:

I did find the answer by going to the Scriptrunner support pages and found the Scriptrunner JQL function - issueFunction in subtasksOf("'Filter' = Filter-8") ORDER BY Rank Desc worked.

Suggest an answer

Log in or Sign up to answer