Forums

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

JIRA automatoin for Project and Subtasks

Sohail Alam
Contributor
February 10, 2025

I have Project ticket : "JIRA automation for the ticket" and Subtasks under the Project

Subtask 1: Testing ticket ABC

Subtask 2: Testing ticket DEF

Subtask 3: Testing ticket GHI

Another Project ticket : "This is a Project" and Subtasks under the Project

Subtask 1: T123

Subtask 2: T456

Subtask 3: T789

Now I want to create a Filter where: Project summary contains JIRA and it`s Subtasks summary is starting from Testing.

Thanks for the help.

2 answers

0 votes
Kristian Walker _Adaptavist_
Community Champion
December 17, 2025

Hi Sohail,

As Mercy has mentioned, you can use the Enhanced Search feature of ScriptRunner for Jira cloud and then use the subTaskOf() search function to create the filter you need. 

I hope this information helps,

Regards,

Kristian

0 votes
Mercy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 10, 2025

Jira doesn’t support parent–child summary matching directly in a single JQL query, since JQL can’t look “up” or “down” hierarchy relationships across summary fields. The clean way to handle your case—where you want subtasks whose parent summary contains “JIRA” and whose own summary starts with “Testing”—is to use the `issueFunction in subtasksOf()` clause available through ScriptRunner or an advanced JQL app. With that, you can query like this:
`issueFunction in subtasksOf("summary ~ 'JIRA'") AND summary ~ '^Testing'`.
If you’re using native Jira Cloud automation instead, you can build a rule to label or set a custom field on subtasks when their parent matches the summary pattern.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events