# Roll Up Time to Epics Across the Jira Hierarchy (https://jetheads.io/help-center/how-tos/jettime/rolling-up-time-across-the-hierarchy/)

You want one number: how much time this epic really took. But native Jira keeps a separate total per work item and only rolls time up one level — work logged on a subtask reaches its story, not the epic above it. So the epic's true effort is scattered across the tree, and you add it up by hand.

[JetTime](https://marketplace.atlassian.com/apps/1237249?utm_medium=referral&utm_source=help-center&utm_campaign=help-center_all_articles), a time-tracking app for Jira from the Atlassian Marketplace, rolls time up the whole hierarchy. Group a report by any level — epic, or a custom level above it — and every work log logged anywhere underneath rolls up to it, however deep the tree goes, across every space.

## Group by a Hierarchy Level [#group-by-a-hierarchy-level]

The roll-up happens in a report — you tell it which hierarchy level to total work against, and JetTime gathers everything below into it.

<Steps>
<Step>
### Open the Report Settings [!toc] [#open-the-report-settings-toc]
Open a report and select **Customize** to open the **Customize Report** panel.
</Step>

<Step>
### Add a Hierarchy Level to the Grouping [!toc] [#add-a-hierarchy-level-to-the-grouping-toc]
Under **Grouping**, select **Add Grouping** and pick a level from the **Work Item Hierarchy Levels** category — for example **Epic (Level 1)**. Each level is labelled with its name and number. Add several to nest the whole tree — **Initiative (Level 3)**, **Portfolio (Level 2)**, **Epic (Level 1)**, **Task/Story (Level 0)** — so work rolls up level by level.
</Step>

<Step>
### Build the Report [!toc] [#build-the-report-toc]
Select **Build Report**. Every work log logged on a story, task, or subtask under an epic now rolls up into that epic's total.
</Step>
</Steps>

<BrowserFrame src="/help-center/images/how-tos/jettime/rolling-up-time-across-the-hierarchy/hc-report-hierarchy-view-settings.png" alt="Screenshot of the Customize Report panel in JetTime, grouping by hierarchy level to roll up time to the epic and above in Jira." width={2800} height={1400} caption="Add Work Item Hierarchy Levels fields to Grouping. Stack several to see the full tree, from initiative down to story." />

<Callout type="success">
  This rolls up the full tree, not just the direct parent. Time on a subtask reaches its epic — and any custom level above it (initiative, portfolio, and beyond), to any depth, across all your spaces. Custom numeric metrics roll up the same way, not only time.
</Callout>

With several levels, the report opens with every work item showing. To start from the epics' totals, set **Default Collapse** under **Grouping** to **Collapse Below Epic (Level 1)**. The stories and tasks stay collapsed until you expand an epic.

## Spread It Across Time [#spread-it-across-time]

Once the report is grouped by hierarchy, switch to a worksheet to see how that effort spread over time.

<Steps>
<Step>
### Switch to Worksheet View [!toc] [#switch-to-worksheet-view-toc]
In **Customize Report**, set the view mode to **Worksheet**.
</Step>

<Step>
### Pick a Breakdown [!toc] [#pick-a-breakdown-toc]
Set **Worksheet Breakdown** to **Days**, **Weeks**, **Months**, or **Quarters**. Each level of the tree shows its rolled-up total in every period column.
</Step>
</Steps>

<BrowserFrame src="/help-center/images/how-tos/jettime/rolling-up-time-across-the-hierarchy/hc-report-hierarchy-worksheet.png" alt="Screenshot of a timesheet in JetTime showing time across the Jira hierarchy, each level's total spread over the days of a month." width={2800} height={1400} caption="Rolled-up time across the hierarchy, broken down per period." />

## Roll Up More Than Time [#roll-up-more-than-time]

The same roll-up works for any custom numeric field you track on work logs — costs, client visits, mileage. Add it as a total column or pick it as the worksheet metric, and it sums up the hierarchy just like hours do.

## Related Articles [#related-articles]

- [Customizing Reports](/help-center/fundamentals/jettime/reporting/customizing-reports/)
- [Working with Worksheet Reports](/help-center/fundamentals/jettime/reporting/working-with-worksheet-reports/)
- [Reporting on Time Spent](/help-center/fundamentals/jettime/reporting/reporting-on-time-spent/)
- [Reporting on Custom Metrics](/help-center/fundamentals/jettime/reporting/reporting-on-custom-metrics/)
