Hello world! I spent a lot of time developing this issue because there is a lot of information about sum logged work into an epic and there are some problems when the work logged is edited o deleted from epic children or epic children subtasks. I have found a great solution and for me and it is quite simple to implement if you use a custom field from an epic to have this all logged work updated so I want to share it. I hope it will be useful for all of you. The automation has to be divided in two cases:
1.- When the work logged is in an epic child:
The JQL for lookup the issues is: project = YOURPROJECT AND (issuetype = Sub-task AND parentEpic in ({{triggerIssue.Epic Link}}) or "Epic Link" = {{triggerIssue.Epic Link}})
The Edit issue field: (here you have to select your own custom field)
The value for the work log: {{#=}}{{lookupIssues.timeSpent.sum}}/3600{{/}}
2.- When the work logged is in a subtask from an epic child:
The JQL for lookup the issues is: project = YOURPROJECT AND (issuetype = Sub-task AND parentEpic in ({{triggerIssue.parent.Epic Link}}) or "Epic Link" = {{triggerIssue.parent.Epic Link}})
The edit issue field: is the same as shown before with the same value.
I hope it helps!!
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.