Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way or automation to update "Time tracking" in child work items/issues so that it is al

S SAJEED AHMAD May 10, 2025

Example: A parent has tasks, stories, and bugs as children. If I update time tracking in child issues, the time tracking aggregate should be reflected in its parent issue.

example.png

2 answers

3 votes
Walter Buggenhout
Community Champion
May 11, 2025

Hi @S SAJEED AHMAD, and welcome to the Community!

This feature is available out of the box at the task (story) and sub-task level, where it looks like this:

Screenshot 2025-05-11 at 09.46.44.png

But indeed, it isn't there at higher levels of the hierarchy.

Since you indicate being on the premium plan, a plan view in advanced roadmaps Plans feature allows you to quickly see a rollup of both progress and remaining estimates all the way to the top of your hierarchy:

Screen Shot 2021-03-15 at 10.18.58 am.png

Note that - in both scenarios - Jira calculates the statistics on the fly and displays the result of that calculation on your screen(s), but without actually duplicating the numbers across the hierarchy levels.

While it is technically possible to write an automation rule that copies time spent from child issues to its parent, this would actually create duplicate time entries at different levels of the hierarchy and break the views of the built-in tools (at least if you would add the time spent on e.g. stories in the same time spent field of your epics).

So, I would recommend to have a look if you can't use existing views to give you the information you are after first, before starting to automate stuff at individual issue level.

Hope this helps!

 

 

S SAJEED AHMAD May 11, 2025

Hi @Walter Buggenhout 

Thanks For the update can u please share how i can add this automation i would like to try we will appreciate  your efforts on solving our problem

automation rule to update "Time tracking" in child work items/issues


Thanks,


S SAJEED AHMAD May 11, 2025

@Walter Buggenhout  and also please guide me whare i can find "Include child work items" option under time tracking so i can enable it


Thanks,

0 votes
Tomislav Tobijas
Community Champion
May 11, 2025

Hi @S SAJEED AHMAD ,

This native Time tracking field doesn't not automatically aggregate time from child items.

There is, in the backend (if you look at items JSON), a field/value named aggregatetimespent which will, in fact, display aggregated time spent from the current item and child items (but only one level below!).

2025-05-11_09-52-13.png

Now, if you'd like to actually see aggregated time spent on the item itself, you would need to create an automation rule that would sum values from child items and then store it on the parent item > see examples like this one.
You could then maybe just polish it by using this aggregatetimespent value instead of using Lookup issues action. 👀

In any case, it needs a bit of playing around as, natively, this isn't supported.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events