I'm looking for a way in automation to do the following (scheduled task will do).
Look for a TASK that has 2 subtasks cloning it.
If the TASK is called MyTask, then it will have 2 labels: basic and advanced, and it will also have 2 cloned subtasks linked to it named:
The solution may rely on all of that.
I want automation to find TASKs that all the above characteristics apply to (this JQL is simple) and then link the 2 cloned subtasks thus that Basic MyTask is blocking Advanced MyTask
Thanks
I have an alternate suggestion
Assuming you are wanting to run this against issues that already exist, create a Scheduled trigger Automation Rule to find all the subtasks with summary Basic MyTask.
Then check if their parent issues match the conditions you specified (i.e. has the specified labels) by using a Lookup Issues action to find the parent issue.
Confirm a parent issue matching the conditions was found by checking the count of issues in the Lookup Issues results.
If the count is 1, then use a branch to find the sibling subtask with summary Advanced MyTask.
When that is found, use the Link Issue action to link it to the trigger issue.
There is a limit on how many issues can be processed by a schedule trigger. How many subtasks do you have that would have the specified summary?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.