I have one epic which has some stories as its child. but when I enter log work for any of those stories and I query the epic the time spent field is empty. How can I see the logged works of an epic?
I agree with MDA. It's never made sense to me why the "Sum of Time Spent" for an Epic doesn't aggregate from Stories/Tasks (and Subtasks) lower in the hierarchy.
If I wanted to know how much time has been logged to an Epic (and only the Epic issue), then the "Time Spent" value gives me that. For other issue types, the "Sum of Time Spent" aggregates any time logged to "child issues" -- but not for Epics. So frustrating!
Try this in your Jira instance: search issues with JQL "type=Epic and (timespent != 0 or remainingEstimate != 0)", and use these columns in the result:
You will see that the first two ALWAYS match, and the second two ALWAYS match.
(For bonus points, search instead for "type=Story" and add "order by subtasks". You'll see how the Sum fields *do* aggregate properly for Stories with Subtasks).
In my opinion these two "Sum" totals for Epics have been BROKEN in Jira for a long time.
P.S. I do NOT want to hear about third-party add-ons to "fix" this. This is built-in functionality to Jira that does not work properly.
In the mean time (until Epics show accurate Sigma Time Spent and not just Time Spent), let's do this. Run JQL Reports without Epics and show the Sigma Time Spent Column in your Columns as well as the Epic Link field. Then Group by Epic Link and add up the Sigma Time Spent Entries by "Epic Link".
That is what I need to do for a Report I am working on today.
You can try out our add-on to track progress of issues in Epic hierarchy on time estimates and at story points as well.
The add-on allows you to manage and visualize your Epics with rolled up estimate progress reports along with multiple Time in Status Reports ( more than 6 reports).
Key features of Epic Hierarchy:
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events