I'm working with a Team-managed Jira project, and trying to setup an automation rule where the system should add up all the 'Original Estimate' field values of Subtasks (under a Parent) and update that sum value in their corresponding Parent's 'Original Estimate' field.
But still, the parent 'Original Estimate' remains 0h.
What am I missing? Please advise
Hello @Sreeram Karthik
What does the Audit Log for the rule say? Is the rule being triggered? Are the conditions in it being met? Can you show us the Audit Log output for the rule?
I tried by changing the estimates for a subtask. The audit log for this rule says that issue did not match the condition. What am I missing?
Here is the screenshot. Hope this helps 🤞🏻
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is indicating that your first condition (the Advanced Compare) is not being met by the issue that triggered the rule.
I like to insert Log Action actions to log information to the rule Audit Log when I'm debugging a rule. I use that to log values that I'm trying to use in Conditions and in Edit actions to confirm the values are what I expect.
I created just part of your rule with a Log Action to see what the value of {{fieldChange.field}} is when I change an Original Estimate value. It appears that you have the wrong value for your comparison as the field name is not what you expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're a Saviour!
Thank you for this, Trudy. Following your advise, I added the log and realised that the variable I added is incorrect.
All this time I was using timeoriginalestimate. After debugging with the help of this log, I corrected it as timeestimate and the rule got executed successfully!!
Here's a full view of my rule and the audit log (success message). This helped me achieve what I'm looking for. Individual 'Original estimate' values from the sub tasks are all getting added and displayed at the Parent level now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
However, this one is taking 4-5 seconds to get executed though. Not sure if this a usual automation behaviour. All my other rules run within a second.
This doesn't impact anything majorly but still please let me know if I'm doing something wrong and there's a way this can be optimised further
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.