I have a task that sets the default story Description and creates several subtasks when an issue is created. It's working great for the most part. However, when a user CLONES an issue and mistakenly selects the Clone Subtasks option, it clones all of the existing subtasks plus creates a new set of subtasks since the story is also new.
How do I add a condition that checks for the existence of subtasks and only does the next action if the subtasks do not exist?
Attaching what I have so far, but I'm getting an error:
"Parent issue ID: '203234' / Key: 'ABC-76' can not be sub-task. (issuetype), 2: Parent issue ID: '203234' / Key: 'ABC-76' can not be sub-task. (issuetype)"
You can check if any sub-tasks exists or not using the below condition.
If you want to search for any particular sub-task exists or not using the summary, you can follow below approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gikku The qualifier I want to put on this automation is not a matching JQL, its a matching subtask owner. Is there a way to execute that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Geoff Robles ,
In addition to above answer, you can add condition on link issue type.
The automation will not work if created issue is a Cloner.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.