Deduct remaining estimate on story if work logged on subtasks using automation?

sdt April 25, 2020

Hi all,

I understand the concepts of Epic / Story / Subtasks which was described here: https://community.atlassian.com/t5/Agile-articles/Best-Practices-Thoughts-on-Issue-Hierarchy-in-Jira-Software/ba-p/653581

In our project the "Original Estimate" is set on Story level, but we log the time on Subtask level that means, unfortunately, the "Remaining Estimate" is not updated on the Story level as someone has already pointed out in this thread:

https://community.atlassian.com/t5/Jira-questions/How-can-I-deducted-the-remaining-time-of-a-parent-issue-from-its/qaq-p/598517?tempId=eyJvaWRjX2NvbnNlbnRfbGFuZ3VhZ2VfdmVyc2lvbiI6IjIuMCIsIm9pZGNfY29uc2VudF9ncmFudGVkX2F0IjoxNTg3ODEyODUxNjM3fQ%3D%3D

I saw that it's maybe possible to achieve this behaviour by using automation. I found this blog entry here: https://blog.codebarrel.io/calculated-customfields-and-math-expressions-5eacad80e4e8 which gave an example of "sum all subtask story points". So what I need is something like "sum all subtask logged work and subtract that from the parent's remaining estimate".

Can anyone point me out how the syntax for such a field update on remaining estimate would look like?

Any help appreciated, thanks!

2 answers

0 votes
Antti Rantanen May 3, 2023

Can't get anything mentioned above working. How I can achieve the following:

EPIC

- includes allocated time (Original Estimate field)

TASKS (belonging to Epic)

- includes estimations (Original Estimate) or Time Tracking

How can I automate this so, that whenever changing the estimation or logged time in tasks, that amount gets subtracted from the Epic's Estimate field? I'd like to see how much there is left of allocated time in Epic level.

Thanks in advance!

0 votes
Thomas Ehmann March 2, 2021

Add an estimation to the subtask and then log work on it. The estimation will get added to the "parent" task, and thus the logged time will also get deducted. 

Suggest an answer

Log in or Sign up to answer