Forums

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

Manually Trigger Automation from subtask create more subtasks in parent issue?

Quinn Campbell November 7, 2023

I'm trying to create a manually triggered automation that is available in the subtask screens that is triggered by a user if need be (while they doing the subtask, they may need other things done).

The triggered items should be subtasks, that live within the issue. I am getting an error when the manual automation is triggered from the subtask, but not when its triggered from the main task. 

I understand the issue is essentially when an automation is triggered from a subtask that it's trying to create a subtask under that triggering subtask. 

How can I make all the triggered subtasks only go main issue? The only options for parent issue are current issue (a subtask) or trigger issue (a subtask again). 

 

Thanks for the help!

2 answers

2 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
November 7, 2023

Hello @Quinn Campbell 

Please show us the entire automation rule and the output of its execution from the Audit Log.

Probably what you need is to make the following changes:

1. Limit the manual rule to be available only on sub-tasks.

Screenshot 2023-11-07 at 9.19.56 AM.png

2. Use a For Each branch and select Related Issues > Parent.

Screenshot 2023-11-07 at 9.21.16 AM.png

 

Then add the steps for creating the new subtasks within the For branch.

Quinn Campbell November 7, 2023

Eureka, problem solved, just didnt see that option

1 vote
Answer accepted
Marko Blagus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2023

Hello @Quinn Campbell,

 

Have you tried like this:

subtask.png

Of course modify it for your needs, add conditions and more sub-tasks if you need.

I hope this helps.

 

Best regards,

Marko Blagus

Quinn Campbell November 7, 2023

Parent was the missing key, thanks for pointing out what I overlooked! 

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