Hello, I would like to ask for your help. I need simple automation rule but unfortunately after a lot of attempts still not working. I'm creating task - it has 2 subtasks - after resolving one of this subtask should be created a new subtask - that's not working. Please check picture below. I also tried with matching labels, etc. still not working.
Welcome to the Community!!
Checking with labels is not a good approach I would say!!
As @Jack Brickey mentioned you need to have two rules in place to check with trigger and condition
The first one is Issue Created for Task Issue Type
Trigger - Issue Created
Condition - Issue is not Sub-task
Action - Create Sub-Task
The Second one is Issue Created when one Sub-task is resolved
Trigger - Issue Resolved
Condition - Issue is Sub-task
Branching - For Parent Issue
Condition - Check if the number of Sub-tasks for Task is 2 by smart value
{{issue.subtasks.size}}
Action - Create Sub-Task
Let me know if you have any queries
Thanks,
Pramodh
You need to break this into two rules. The first will create the first sub-task when issue created. The second triggers on issue transitions with conditions of it being the first subtask.
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.
ofc :) maybe one more question - when last substask resolved - how can I setup that first trigger issue will be set resolved as well?
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.