Excel Guides

How to Audit Jira Time in Status When Two Exports Disagree

A closed Jira issue shows 150 minutes in In Progress in one export. In the next export, the same cell is blank. Start by checking whether the issue and status still appear as a pair. Then reconstruct the time from the status history under the same reporting rules. The check below distinguishes a missing value from a reported zero and shows which transitions support the total.

Match the report rows before comparing durations

Keep the two original exports. Confirm the same filters, time zone, date window, cutoff and calendar. Check whether repeated visits are summed and whether both files report the same units. The example uses elapsed minutes, UTC, and all visits through the closing transition. A business-hours report requires the same working calendar and holiday rules as the original report.

Use the issue identifier and status ID together. If the exports show only names, map them to IDs from the workflow and flag names that have more than one possible match. Check for duplicate pairs before joining. In Power Query, a full outer merge on both fields preserves pairs that appear on only one side. Keep a row-present flag from each export. A missing row and a present row with a blank duration are different findings.

Paste this already matched synthetic comparison at H1. Each pair is present in both exports. Leave K2 empty, enter the zeros as numbers, and use numeric minutes in both exports.

Issue IDStatus IDExport AExport B
OPS-42S-IP150
OPS-42S-REV300
OPS-42S-HOLD00

Enter Export comparison in L1, then enter this formula in L2 and fill through L4. For this example, all nonblank durations are numeric. Flag unparseable values in your own exports instead of treating them as zero.

=IF(AND(J2="",K2=""),"Both blank",IF(K2="","B blank",IF(J2="","A blank",IF(J2=K2,"Same","Changed"))))

Rebuild the duration from Jira history

In Jira Cloud, open the work item and select Activity → History to see recorded status changes. Gather the complete sequence for the period. Include the creation event or opening status and timestamp if the report includes time before the first transition. In this example OPS-42 was already in To Do before the first recorded row, and the checked statuses have no time before that row. The period ends at the transition to Done.

Paste the synthetic transition history at A1 on the same worksheet. Enter B2:B5 as Excel date-times in UTC, then sort by issue ID and timestamp. The status codes stand for To Do, In Progress, Review and Done. S-HOLD is another known status that this issue never entered.

Issue IDTimestamp (UTC)From statusTo status
OPS-422026-11-21 09:00S-TODOS-IP
OPS-422026-11-21 10:30S-IPS-REV
OPS-422026-11-21 11:00S-REVS-IP
OPS-422026-11-21 12:00S-IPS-DONE

Use History check and Elapsed minutes in E1:F1. Enter the formulas in E2 and F2 respectively and fill both through row 5. E checks for duplicate timestamps within an issue, missing fields, and a break between one row’s destination and the next row’s starting status. The final transition to S-DONE marks the cutoff in this example. A terminal row without that boundary goes to review.

=IF(OR(B2="",C2="",D2="",NOT(ISNUMBER(B2)),COUNTIFS($A$2:$A$5,A2,$B$2:$B$5,B2)<>1),"Review",IF(A2<>A3,IF(D2="S-DONE","Boundary","Review"),IF(OR(NOT(ISNUMBER(B3)),B3<=B2,D2<>C3),"Review","OK")))
=IF(E2="OK",ROUND((B3-B2)*1440,6),"")

The duration belongs to the To status on the current row. F2, F3 and F4 should show 90, 30 and 60 minutes. F5 stays blank because the closing row ends this calculation. If events share a timestamp, check their order against the original history before calculating. A sequence can pass the formula and still omit an entire visit, so confirm coverage before relying on the total.

Compare the rebuilt time with each export

Put Rebuilt minutes in M1, enter this formula in M2, and fill through M4. An issue with no transition rows or a flagged row returns Review history.

=IF(OR(COUNTIF($A$2:$A$5,H2)=0,COUNTIFS($A$2:$A$5,H2,$E$2:$E$5,"Review")>0),"Review history",SUMIFS($F$2:$F$5,$A$2:$A$5,H2,$D$2:$D$5,I2))
StatusExport comparisonRebuilt minutes
S-IPB blank150
S-REVChanged30
S-HOLDSame0

For In Progress, B2:B3 support the first 90 minutes and B4:B5 support the next 60. Review has 30 minutes even though the second export says zero. Hold has a supported zero given this complete history and the stated window. The comparisons identify where to investigate the report settings or records.

Repeat the check on future reports

Extend the input ranges together for more issues, keep issue IDs nonblank, and leave the row below the last event blank. Adjust the boundary rule if a report ends at a fixed cutoff or includes time spent in the closed status. In Power Query, you can add a row index within each issue and merge to the next event before grouping elapsed minutes by issue and status.

In Jolene.pro, use an Excel workbook with the two exports and the transition history. Ask which issue/status pairs lost a value and request the exact timestamp cells for each visit that supports the rebuilt duration. Compare those cells before rerunning the check on a later export. The synthetic figures above were verified independently. A live Jolene.pro result was not verified.

See Atlassian’s guide to finding transition timestamps and Microsoft’s guide to elapsed time in Excel. Explore other examples in Workbook Studies.

1 comment

Leave a comment