Forums

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

automatic assignment of subtask

Anne Menninger July 31, 2023

Hello,

I have created an automation rule for automatic assignment of components and custom fields. The rule ran for a month without any problems and now it does not work for the subtasks.

I have tried different rules but none of them works. Maybe someone can help me?

These are the options that I tried and used to work:

 

image.pngimage.png

2 answers

1 accepted

0 votes
Answer accepted
Tomáš Vlach
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.
July 31, 2023

Hello, @Anne Menninger

 

could you please describe a little more what are you trying to achieve?

 

Thanks,

Tom

Anne Menninger July 31, 2023

Hey @Tomáš Vlach

In our company we have implemented our company structures as Costum Fields (Product Main Phase,...) and Status. A status corresponds to a specific Costum Field in order to get the assignment on the Advanced Roadmap. The automation rule should automatically apply the Costum Fields to the Task and Subtask when changes occur. This works on Task level without any problems, on Subtask level the Issue does not recognize the trigger anymore and doesn't perform any actions.

Tomáš Vlach
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.
July 31, 2023

Did you try anything like this?

The first one IF, Else condition with the condition tha the Issue Type of the current issue is Task.

Then inside of that IF you put 2 For Each branch rules - one for the current issue and the other one for the subtask, then just put the action under the branch and copy to the other branch.

image.png

I hope this does what you are trying to achieve if not, please let me know what action should perform and when.

Tom

Anne Menninger July 31, 2023

yes, our rule looks the same: 

image.png

 

 I have also tried your suggestion for safety, this also doesn't work.

kind regards
Anne 

Tomáš Vlach
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.
July 31, 2023

Yeah it might look similar but I dont think its the same.

 

Be very careful while using the IF condition.. make sure you using the IF else in your case. In my opinion your rule could not work because of syntax error.. Because everytime the Issue type is not EPIC it wont do anything..

Like Anne Menninger likes this
Anne Menninger July 31, 2023

I tried your variant again and it works when the manual trigger is triggered on the task level. Thanks a lot!

Anne

Like Tomáš Vlach likes this
0 votes
Jens Schumacher - Released_so
Community Champion
July 31, 2023

Can you share the rule execution audit log? Are there any error messages in the log? 

Anne Menninger July 31, 2023

image.png

Suggest an answer

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

Atlassian Community Events