Time Tracking by Assets Object Field using JQL Custom Charts and Formula Cards in Dashboard Hub
This use case explains how to build a Dashboard Hub dashboard that summarizes Time Tracking fields, including Original Estimate, Remaining Estimate, and Time Spent, grouped by a custom Assets object field. It also demonstrates how to create KPI-style visualizations using JQL Custom Charts and Formula Cards for reporting.
Example scenario
You have an Assets object, for example, Phone009, and want to:
See a breakdown of time tracking fields for all issues linked to that asset.
Visualize Remaining Estimate in business days (8-hour workdays).
Present this using a pivot table and a clean KPI-style formula card.
Part 1: Add a JQL Custom Chart gadget (Pivot Table)
Dashboard Hub’s Custom Charts is a flexible, highly customizable gadget that displays the result of a JQL query or an existing filter, as a table or a chart.
🧭 Step-by-Step configuration
Add the gadget
In your dashboard, click Edit → Add Gadget, then select the Jira Custom Charts gadget.Select the datasource
Select the required datasource for the asset configuration.Configure the JQL
project = IOS AND "insight object" in iqlFunction("|"Name\" = \"phone - 009|"*) order by created DESCReplace
"Assets Object Field"with your actual Assets field name.Select a View Type:
Select Table, 1D Pivot Table, or 2D Pivot Table depending on your grouping preference.Group By (Rows):
Use theinsight objectfield to group.Fields and Aggregations:
Add
Time Spent,Remaining Estimate, andOriginal EstimateusingSUMaggregation.
Preview Output:
A table similar to the following example is rendered:
Part 2: Add Formula Cards gadget for KPI calculation
The Formula Cards gadget enables arithmetic operations on time tracking fields, such as converting seconds to hours or days.
🧭 Step-by-Step configuration
Add the gadget:
In your dashboard, click Edit → Add Gadget, then select the Formula Cards gadget.Select the datasource:
Select the required datasource for the asset configuration.Create variables:
Datasource: Use
This Jira instance.JQL:
project = IOS AND "insight object" in iqlFunction("|"Name\" = \"phone - 009|"*) order by created DESCField to Aggregate:
Remaining EstimateAggregation:
SUMThe field returns seconds, so conversion is needed in the formula.
Add formula:
Example for converting seconds to business days:(a/ 3600/ 8)This gives the result in working days (assuming 8-hour workdays).
Customize the card display:
Label: Remaining Days
Suffix:
daysIcon: Any, for example, task, clock, or calendar.
Card Type: Icon or Donut
For Donut: Add a max value, such as
7(for weekly target).
Save and add more cards:
Add other variables/cards for:Time SpentOriginal EstimateTotal
Workload(custom sum)