I'm having trouble trying to get this automation to work:
To ensure that the custom field Total Project Estimate field on an Idea ticket is automatically updated whenever the Original Estimate field of any linked Task or Story is modified. This automation should:
Track Time Changes: Monitor changes to the Original Estimate field on Task and Story tickets in the Execution Project.
Sum Estimates Across Linked Issues: Sum up the Original Estimates for all Tasks and Stories linked to the Idea via the "is implemented by" or "Implements" link type.
Update the Idea Field: Update the Total Project Estimate field on the linked Idea ticket in the Idea Project with the cumulative sum (in hours) of all linked Task/Story estimates.
Trigger:
Branch to Related Issues:
Calculate the Total Estimate:
Update the Idea Field:
Cross-Project Linking:
Link Type Directionality:
Field Accessibility:
Error Handling:
An Idea ticket (IDP-1) in the Idea Project is linked to three tickets in the Execution Project:
A user modifies the Original Estimate on EP-102 to 10 hours.
The automation triggers and calculates the new total:
The Total Project Estimate field on IDP-1 is updated to reflect 22 hours.
Here is the automation:
Hello @Jeffrey_Denton
Is the problem that you think the rule you have should give you the desired result? Or is the problem that the rule doesn't give you the desired result and you are not sure how to fix it?
What are the details of the Create Variable and Edit Issue steps?
What is the output in the Audit Log when this rule runs?
What is the Scope of the rule from the Rule Details page?
Can a Story/Task be linked to more than one Idea?
The rule is not giving my results and I expect it to sum all original estimates into this custom field.
Here is the audit Log
here is the details of the create variable:
variable name: sumOriginal Estimate
Smart Value: {{issue.issuelinks.where("type = 'is implemented by'").issues.timeoriginalestimate.sum|0}}
Here is the Edit Issue Steps:
A task or story will not be linked to more than one idea.
Scope: Global
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.