Example:
Once an issue transitions into "In Progress" from "To Do" and has 3 story points assigned to it, let me know if takes more than 4 days to make it into a status of "DONE" from "In Progress".
Is there a JQL Query that could work for this example?
As an alternative, you can try Time in Status for Jira Cloud. It's developed by my team specifically for easy tracking of how long an issue has been in from one specific status to another specific status and analysis of critical moments.
In addition to the Time in Status report, you can also analyze:
Or use a Pivot Table to customize your report.
Here is an online demo link, you can try an add-on without installing it.
Hope it helps.
Regard
If you would be interested in a readymade solution to get this data, you can try out our plugin,
The add-on provides the time in each status for the entire lifecycle of the issue and you can filter by issue type as well. You can also combine your statuses to define your lead/cycle/resolution time and also extract the transitions history of the issues. The main features of the app are as below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@SHEHZADALI ISMAILY - If you're trying to figure out how long issues stay in each status, it can be tricky in native Jira. I had the same challenge and built a small app called Workflow Aging that gives this visibility — might help you spot bottlenecks quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @SHEHZADALI ISMAILY
JQL gives you the option to filter by comparing specific dates on issues to current (or a given) date but you can't compare dates on issues with each other.
That means (using JQL) you can ask to get issues that were updated less than 7 days before today but you can't get issues that were updated less than 7 days after the creation date.
updated < -7d
// this works
updated < created +7d
// this doesn't work
The same goes for status transitions. You can ask for issues that were transitioned to a status in a given time period but there is no way to get issues that were transitioned to a status less than x days after the transition to an earlier status.
status changed to 'In Progress' AFTER -7d
//this works
status changed to 'In Progress' AFTER "Open"+7d
//No such feature
If you need to see the time spent on a status, you might try to make that measurement manually. You can create a custom field to hold the value for that measurement and use workflow functions to populate those fields throughout your workflow. This will require a separate configuration for each measurement you want to make. There are similar questions in the community that explain this process. I won't get into details here. I believe it is hard to build and maintain, so I don't recommend it.
The next alternative would be to do custom software development to get this report. The needed data is available in each issue's history. You can get that data via REST API and do your calculation.
The final alternative would be to use a marketplace plugin for that. If you are OK with that, our team at OBSS built Time in Status app for this exact need and more. It is available for Jira Server, Cloud, and Data Center.
Time in Status allows you to get detailed analytics on how much time each issue spent on each status and each assignee.
You can calculate averages and sums of those durations grouped by the issue fields you select. For example average resolution time per week, month, issuetype etc.
The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well.
Time in Status reports can be accessed through its own reporting page, dashboard gadgets, and issue view screen tabs. All these options can provide both calculated data tables and charts.
Using Time in Status you can:
Timepiece - Time in Status for Jira
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SHEHZADALI ISMAILY ,
Unfortunately, what you are looking for is not possible with the built-in functionalities of JQL. Because JQL can not make calculations and you need status time calculation.
For this exact need we developed Status Time Jira app. It provides reports on how much time passed in each status. By grouping statuses you can get cycle time(E.g from in progress status to done status). You can also export the report as CSV and open it in excel.
Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like assignee time, status entry dates, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month). And all these are available as gadgets on the dashboard too.
Here is the online demo link, you can see it in action and try without installing the app.
If you are looking for a free solution, you can try the limited version Status Time Free. Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.