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.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.