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.
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:
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:
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!
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!).
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
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.