Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
we have a development KPI that measures time spent on epic. It is defined as an interval between a date when the first issue of the epic enters IN PROGRESS column (and gets In Progress status) and a date when all issues are resolved (i.e., last issue enters DONE column/gets Done status).
We are looking to automate the KPI measurement. Is there a way to do it in JIRA (are there relevant fields we could define/exploit?)? Is there a way to do it through REST API (are there relevant endpoints/what are the possible relevant endpoints)?
Thank you,
Pavlina
You can get resolved date from the field "Resolved" - ensure you are setting a resolution as part of your workflow.
For the transition to "In Progress", you have a few options:
To use a post-function:
^ It'll likely be cleaner as a scripted field or similar, but this does the trick to make it searchable and exportable.
Ste
@Ste Wright I am looking for start date as well and happen to have Time in Status, however have never used it. Do you know any more as far as how to utilize it to get that data? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pavlina Novakova ,
The data you need is available in Jira Rest API. It provides the exact status transition date and time for each issue. It returns json as below, then you need to extract and calculate the date differences. You should loop for all the issues under the epic, take the minimum of In Progress dates and maximum of Done dates.
Or you can try Status Time add-on. It generates status time report/export. It calculates status duration on issue level. As of now, it does not provide status entrance date in the report but just upon your case we started working on it. We will release status entrance date feature in a few days.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pavlina Novakova ,
We released the new feature of displaying status entrance dates. You can view/export the status entrance dates and work on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, you can consider add-on Time Between Statuses.
This tool lets you set the start/stop/pause statuses timer preferences. Moreover, you can configure time limits and notifications for issues with exceeded that's limits.
Hope, it is that you are searching.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pavlina Novakova
The "resolved" field will contain a time stamp when the issue is moved to resolved, while the "status " field contains status names.
The issue I would expect is defining and determining when the "in progress" status change happens. The timestamp exists, just not sure where it dwells.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.