Hi,
I ask for help concerning with creating /correcting an automation role.
@John Funk could you, or anyone else, please help me? I would appreciate for any help.
The automation role should wor as followings:
I have managed to set the automation for story, task and bug issue types,
but I am struggling to manage this role for sub-tasks.
I created one automation role, that works as my acceptance criteria (when custom field value changed on parent, copies the custom field value for stories, tasks, bugs)
1. this is the first section of my role:
2. But the 2. part of my automation role does not work:
Here I attach a full screen just to let you see the whole process of my automation role:
I would appreciate any help to fix the role.
Thank you,
Eszter Somossy
Hi Eszter,
If you are wanting to copy fields down from Epic to children and then from the children down to the sub-tasks, you will need two rules. This is because the branches will fire at the same time and not in sequential order.
So I would do the first part of the rule that you have and delete the second Branch. Also add a Condition right after the trigger and before the branch to for Issue Type = Epic.
Then copy that rule and rename it. And replace Issue Type = Epic with Issue Type not one of Epic, Sub-task (include any other issue type that you don't want to include who may have children).
Be sure to check the box of the second rule in the rule details to allow it to be triggered by other rules.
Adding to John's answer:
I do not believe any of the Re-fetch Issue actions are needed in your rules and so you may remove them to speed up processing (after you split the rules as John described).
Branches which could be on more-than-one-thing are run in parallel and asynchronously, and there is no guarantee when the branch will complete...up to the last step of the rule. And so having a re-fetch only slows things down and will have no impact for this rule scenario as nothing from the edits will impact other issues.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Funk and @bill ,
Thank you for your answers.
I made the changes you suggested and it works for epic to children :)
The role runs smoothly from epic to story, but from there it doesn't go from story to sub-task. So if I change the value of the field in epic, it will be changed in story, but not in sub-task. On sub-task, the field value is only changed if I make the change on the story. So the rule does not "continue". Something is missing in the rule about story to sub-task, I 'm afraid.
Kind regards,
Eszter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is often better to have two (or more) separate rules for this scenario:
It is possible to do this in one rule, by gathering all of the keys together first, using Lookup Issues and an advanced branch. Although that rule can be more difficult to explain to others for maintenance.
Another challenge with the scenario of field synchronization is deciding how to handle all possible changes. Please discuss these additional cases with your team to decide if they are worth addressing, as they may require additional rules.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.