First let me try to explain the concept:
In a specific status on workflow, 5 sub-task will be created on my task. e.g.:
Workflow status: Load In Progress.
Then create 5 subtasks with the same issue type but different names:
Upon reaching this status, 5 subtasks will be created with the same issue type, but with different summary:
- Subtask Load (To do)
- Subtask Model 1 (To do)
- Subtask Model 2 (To do)
- Subtask Model 3 (To do)
- Subtask Model 4 (To do)
After subtasks 1, 2, 3 and 4 are “Completed”, and the Load subtask is “in progress” or "to do", 5 new subtasks must be created (with the same issue type), but with different names. So, the scenario will be:
- Subtask Load (In Progress)
- Subtask Model 1 (Completed)
- Subtask Model 2 (Completed)
- Subtask Model 3 (Completed)
- Subtask Model 4 (Completed)
- Subtask Sync 1 (To do)
- Subtask Sync 2 (To do)
- Subtask Sync 3 (To do)
- Subtask Sync 4 (To do)
When I try to do this automation, I get stuck checking by parent and name/status of subtasks. For example:
When issue transition from "In Progress" to "Completed"
AND
Issue type = Issue_type_Subtask
for Parent
Related Issue Condition = Subtasks
AND
Condition: All Match specified JQL
Status (Completed)
AND Summary begin with "Subtask Model "
THEN Create new subtask Sync
From what I understand, this check looks at all subtasks (summary and status) and not some specific group of subtasks. As I have one subtask with a different name (Subtask Load), nothing will happen with this automation.
Is there any way to, for example, search for all the subtasks that are presented in my task, get ONLY the subtasks that begin with the summary "Subtask Model", from that selection check their status if they are "Completed" and then create the new subtask "Synchronization Subtask"?