Hi,
I'd like to set a rule that the log work from a sub task triggers a log work on the parent story.
How do I use the time spend value from the trigger issue to the parent issue?
You can create an automation rule :
1) When a field value changed component (use the "Time Tracking (Field")
2) Add a Component of type : New Condition
select "Issue Fields Conditions"
is one of
Sub-task
3) Add a Component of type : Branch rule / related issues
Set Parent in "Type of related Issues"
4) In the Branch add a new component : Edit Issue
Set the "Remaining Estimate (System)" as field
Enter the following formula : {{#=}}{{issue.subtasks.remaining estimate.sum}} / 60{{/}}
Activate then this rule and when you update the time tracking of a subtask it will automatically recalculate the parent Remaining estimate with the sum of all subtask Remaining Estimate
This works really well when you have a structure Epic -> Sub-Task.
Do you know how to adjust it when you have a structure Epic -> Story -> Sub-task?
So that when you do a modifiation on logWork at the level of sub-task the value on Epic will be also updated?
Thank you for your support!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
Please look at this example in the template library for how to sum up the sub-task original estimates.
https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/1371692
You may then change the trigger to work logged and modify the edit to meet your needs.
Best 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 @[deleted],
You can use related issues to update the Parent issue. Next, you can use Automation action - smart values for the worklog values.
I hope that this helps!
Thanks,
Moga
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.