Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to sort a list of issues by the amount of time it took to resolve them.

Stephen Caruso July 25, 2022

Hey there! I want to run a search on all of the tickets in a project which have taken 4 weeks or more since their creation date to have their status changed to "closed". 

 

For example, I'd like a query which shows me tickets created on 5/20/2022 and then marked "closed" on 7/1/2022, and tickets created on 3/20/2022 and then marked "closed on 6/23/2022. 


Any advice? Thank you!

5 answers

1 vote
Stephen Caruso July 26, 2022

Thanks for all of your suggestions so far. Unfortunately I can't use any applications, so I might be at a dead end here. Looks like this functionality isn't possible with regular JQL.

0 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
July 28, 2022

Hi @Stephen Caruso

welcome to the community.

JXL for Jira is another app that might help (available for Cloud, Data Center, and Server).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, filtering by, and sorting by all your issue fields, plus a number of "special fields" that aren't natively available. One of this fields is the time between created and resolved.

This is how it looks in action:

time-between-created-and-resolved-v3.gif

Once you have the data you're looking for, you can start editing your issues, analyse them further with features such as issue hierarchy, grouping, and sum-ups, or export them to Excel or Google Sheets with just one click. (Disclaimer: I work on JXL :)

You may already know that you can trial every app for free for 1 months, so it may be worth just trying out a few?

Hope this helps,

Best,

Hannes

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
July 26, 2022

Hi @Stephen Caruso

Welcome to Atlassian Community!

You can try Status Time Reports app developed by our team. It mainly provides reports and gadgets based on how much time passed in each status. You can also get status entry dates report that shows when an issue is entered to a specific status(in your case when an issue is entered to "Closed" status).

Here is the online demo link, you can see it in action and try without installing the app. For your case, you can have a look at "Status Count and Entry Dates Report".

If you are looking for a free solution, you can try the limited version Status Time Free.

Note: If you are interested in cycle and lead time, you can have a look at the article below.

Mehmet A _Bloompeak_
Atlassian Partner
July 26, 2022

Hi @Stephen Caruso ,

Status Time Reports and Status Time Free apps are available on Jira Server/Data Center as well as Jira Cloud.

0 votes
Emre Toptancı _OBSS_
Atlassian Partner
July 26, 2022

Hello @Stephen Caruso ,

The data you need is available in each issue's history but Jira does not give this as a ready-to-use report. You will need to use a marketplace app for this. If you are OK with using a marketplace app for this, our team at OBSS built Timepiece - Time in Status for Jira for this exact need. It is available for Jira Server, Cloud, and Data Center.  

Time in Status mainly allows you to see how much time each issue spent on each status and on each assignee. It also allows you to sort and filter issues based on these status durations.

tisCloud_StatusDuration_LeadTime_with Estimates.png  tisCloud_AssigneeDuration.png     

The app has Consolidated Columns feature. This feature allows you to combine the duration for multiple statuses into a single column and exclude unwanted ones. It is the most flexible way to get any measurement you might want. Measurements like Issue Age, Cycle Time, Lead Time, Resolution Time etc.

Time in Status also has Duration Between Statuses report type which shows the duration from issue creation to a specific status or the duration between two specific statuses.

tisCloud_DBS_Metrics.png  tisCloud_DBS_Report.png

As I said, the app allows you to sort and filter issues based on these durations.

tisCloud_StatusDuration_Filter.png

For all numeric report types, you can calculate averages and sums of those durations grouped by the issue fields you select. For example total in-progress time per customer (organization) or average resolution time per sprint, week, month, issuetype, request type, etc. The ability to group by parts of dates (year, month, week, day, hour) or sprints is particularly useful here since it allows you to compare different time periods or see the trend.

tisCloud_StatusDuration_LeadTime_Average_TimeGrouped.png

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. It supports both Company Managed and Team Managed projects.

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.

And the app has a REST API so you can get the reports from Jira UI or via REST.

Gadget_AverageStatusDurationByComponent.png  tisCloud_StatusDuration_LeadTime_Chart.png

Using Time in Status you can:

  • See how much time each issue spent on each status, assignee, user group and also see dates of status transitions.
  • Calculate averages and sums of those durations grouped by issue fields you select. (For example, see average InProgress time per project and per issue type.)
  • Export your data as XLS, XLSX, or CSV.
  • Access data via REST API. (for integrations)
  • Visualize data with various chart types.
  • See Time in Status reports on Jira Dashboard gadgets

Timepiece - Time in Status for Jira

EmreT

Stephen Caruso July 26, 2022

My place of work doesn't offer Jira Cloud, so I'm not able to use any of these apps. Unfortunately it seems like what you and everyone else is saying is that no query exists that can collect issues by the time it to complete them.

0 votes
Rahul_RVS
Atlassian Partner
July 26, 2022

Hi @Stephen Caruso 

Welcome to the community !!

If you are fine with a mktplace app, you can try out our add-on to get this data. The Status duration filter report in the app allows you to view issues which exceed a certain duration. You can group your statuses which includes the statuses "to do", "closed" etc and define the cycle time. And then the report can be filtered based on cycle time more than specified days.

 Time in Status Reports 

TIs - Status Suration.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events