Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation: create a subtask just once

Jack Garrod November 24, 2020

Hi, 

 

I have a  transition from status B > C in which a sub-task is created via Jira Automation. however, after C it can transition back to A and then go back through the B > C transition. 

 

I want it to not create a second sub-task when transitioning B > C for the second time. 

Jira auto.PNG

 

Is this the correct setup? basically need Jira to recognise that a 'Check-List' subtask has already been created and not do it again. 

 

thanks

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
November 24, 2020

consider adding a label or a comment to the issue when it moves from B>C the first time. couple this with an extra condition, e.g. label != "already-happened".

Jack Garrod November 24, 2020

Thank you, Ive actually found an alternative using the 'if no subtask match' and then it only makes a subtask if there isn't one there already. 

Jack Brickey
Community Champion
November 24, 2020

yep. I didn't suggest that as I was unsure if you would ever have more than one sub-task. Generally speaking, when using sub-tasks you have more than one. Sort of like a bulleted list. 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events