Hi All,
I have created a rather complex automation to get some numbers from the children below an Epic.
I have a custom field which I want to populate in my Epic.
I have Stories and tasks assigned to the Epic.
I have Sub-Tasks in some stories, not all.
In my automation I want to get the custom value from the sub-tasks, based on specific components set at sub-task level. I update the custom value in my story when the criteria are correct.
Then I check the tasks and stories without sub-tasks and also based on specific components, I update the custom value in my story or task.
(the above process I repeat for different components and different custom values)
At the end of my rule I want to take the sum of all stories & tasks in order to update the custom values in the Epic.
This last step doesn't work. In order to find the root cause, I added a Log Action, in order to see if the different steps are correctly executed.
As you can see in the screen shots below, the action log Steps 1 - 5 are correctly executed in the sequence of my automation:
As from step 6 the sequence is no longer correct, step 7 is firs then step 6 then step 8:
As last action log, you see the sum of the different custom fields based on a lookup issues. Which shows me incorrect values.
When we execute this last step with another automation rule which is only taking the sum of the custom values, we see that it is working fine:
So I think my last step is not working in my complex automation due to the fact the the sequence of my actions is mixed up.
Anyone who has an idea how to control this sequence?
Or who had experienced a similar issue?
Kind regards,
Günther
You do not show your actual rule for context (which can help for a question like this) and I hypothesize that you have one or more branches in the rule. If that is the case, please consider...
Rules generally execute from beginning to end, in order of the steps, with a couple of exceptions:
These are clearly by design, but force us rule-writers to alter our thinking about rule execution and parallelism. Often solutions are to use one of these methods:
If none of these help, please post an image of your complete rule to provide context for the community to offer suggestions. Thanks!
Kind regards,
Bill
Dear Bill,
As you correctly assumed, I indeed use multiple branches within my rule:
So in my case I should trigger the first branch in rule 1, which will set all values of my Stories linked to the Epic, to zero.
And then create a 2nd rule which is triggered when all values of my story are zero, in order to calculate the value of my sub-tasks...
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.