Jira's Resolved date is the usual answer to "when was this finished?" – but it is only set when the workflow sets a Resolution, and a reopened item gets a new date, so the first finish is gone. Jira keeps every status change in the work item's history, it just doesn't show it as a column.

The formula function STATUSCHANGEDATE of CelesteCS Reporting for Confluence reads that history. A Table View then shows the first and the last time each work item moved to Done.

Checked on Confluence Cloud with Jira Cloud. Data Center: Reporting 15.3.0 or later.

Confluence table of Done Jira work items with the first and the last date they moved to Done and the Resolved date; WEB-29 was reopened, so its dates differ

Jira Data Provider

  • Query: project = WEB AND statusCategory = Done ORDER BY key (or status CHANGED TO Done DURING (startOfMonth(-1), endOfMonth(-1)) for last month)
  • Fields: summary,status,resolutiondate

Table View columns

  • Work item: CurrentItem.key
  • Summary: CurrentItem.fields.summary
  • First moved to Done: STATUSCHANGEDATE(CurrentItem; "Done"; "first"), format Date dd MMM yyyy HH:mm
  • Last moved to Done: STATUSCHANGEDATE(CurrentItem; "Done"; "last")
  • Resolved (for comparison): LEFT(CurrentItem.fields.resolutiondate; 10), format Date

In the example, WEB-29 was finished on 18 October, reopened and finished again on 29 November: the first and the last date differ, and Resolved only knows the last one.

Good to know

  • The second argument can list several statuses, for example "Done, Closed, Released" when projects use different final statuses.
  • The history is read automatically when a formula uses STATUSCHANGEDATE or TIMEINSTATUS; no Expand setting is needed.
  • Days from creation to Done: DAYS(STATUSCHANGEDATE(CurrentItem; "Done"; "first"); LEFT(CurrentItem.fields.created; 10)).

Related: Bug age without the time spent On hold.

Try it in your own Confluence: CelesteCS Reporting for Confluence on the Atlassian Marketplace – free trial for Cloud and Data Center.

Reporting saves you time? A review on the Marketplace – Reporting – helps other teams find it.