Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,275
Community Members
 
Community Events
184
Community Groups

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

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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 03, 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!

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