Forums

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

Automation

Ayush Lawania
Contributor
June 23, 2023

Hey, 

Need to automate in such a way that whenever a issue is transitioned from to-do to inprogress, subtasks should be created automatically, but it should be done only once, for example, i have an issue and it is transitioned from todo to inprogress then 4 subtasks should be created, and then suppose I have transitioned the status to done and again moved it back to inprogress status then it should not create subtasks as they will be created in the first transition.

3 answers

1 vote
Trudy Claspill
Community Champion
June 23, 2023

Hello @Ayush Lawania 

Could the issue have other subtasks besides the 4 you want created automatically?

If not, this automation would work.

TRIGGER: Issue Transitioned from To Do to In Progress
CONDITION: Issue Type is one of (the issues types that can have subtasks)
CONDITION: Related Issues - Subtasks are not present
ACTION: Create Issue (repeat for each subtask needing to be created)

0 votes
Mark Segall
Community Champion
June 23, 2023

Hi @Ayush Lawania 

You could do something like this:

  • TRIGGER: Issue Transitioned
    This will ensure it only triggers on To Do >> In Progress
    • From: To Do
    • To: In Progress
  • CONDITION (Related Issues Condition)
    This condition is optional to help refine it further in the event that an issue could transition back to To Do and back to In Progress
    • Sub-Tasks
    • Some type of condition that looks for existence of these sub-tasks to ensure they don't get recreated
  • ACTION: Create Sub-Tasks

Suggest an answer

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

Atlassian Community Events