The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Help: Custom Sub-Tasks Not Displaying

Dietrich
Contributor
January 31, 2022

Hi everyone! :)

I need some help with JQL please.

We are on Jira Cloud and we have ScriptRunner installed.

Our users log a custom sub-task issue type called Initiative Risk against Initiatives. Those Initiatives are in turn child issues of a custom issue type Global Initiative which exists on only one project.

I need a query that will return all the Initiative Risks that are linked to Initiatives on a specific project where the parent is a specific Global Initiative.


This gives me the Initiative Risks for the Initiative in question, but it's obviously not dynamic, so if new Initiatives are created it doesn't pick that up: 

parent in (EPDM-5900, EPDM-5851) AND project = "Enterprise Platform - Data Modeling" AND issuetype = "Initiative Risk"


I tried this too but the portfolioChildIssuesOf operator doesn't return Initiative Risk:

 issuekey in portfolioChildIssuesOf(GI-122) and issuetype = Sub-task AND status not in (Done, Cancelled) ORDER BY createdDate DESC


Any help would be greatly appreciated!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Rilwan Ahmed
Community Champion
January 31, 2022
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events