Forums

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

How to filter Jira tickets by time spent on a specific status?

Laura Merino Diez November 30, 2023

Hi!

I am using "Time in Status" gadget to identify how much time projects spend on every status. I have noticed a remarkable peak on a given day. It seems to be an "outlier project" that sat on a status for very long and skewed the average. 

 

When I open all the tickets transitioned that day I get 121 results. Is there a way to filter ticket by the time they spent on a specific status? 

If not, is there any other way for me to investigate where the increase in time spent ona given status comes from?

Thank you!

7 answers

1 vote
Valeriia_Havrylenko_SaaSJet
Atlassian Partner
December 7, 2023

Hi @Laura Merino Diez  👋

In our add-on you can filter ticket by the time they spent on a specific status 
by setting Issues and Time Range Periods for more accurate results. Name of the add-on Time in Status for Jira.

The primary purpose is to help teams gather valuable data about the lifecycle of your issues in Jira. Add-on allows you to measure and visualize the time spent in each status provide 7 types of reports. Add-on developed by my team.

Time in status GIF.gif

Add-on has a 30-day free trial version and free up to 10 users. 
Please, let me know if you have any questions

Hope it helps 😌
Valeriia

1 vote
Emre Toptancı _OBSS_
Atlassian Partner
November 30, 2023

Hello @Laura Merino Diez

As others have pointed out, Jira does not give this as a ready-to-use report. You should use a marketplace app for this.

 

If you are OK with using a marketplace app, our team at OBSS built Timepiece - Time in Status for Jira exactly for this. 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 or each assignee

tisCloud_StatusDuration_LeadTime_with Estimates.png    tisCloud_AssigneeDuration.png

You can combine the time for multiple statuses to get metrics like Issue Age, Cycle Time, Lead Time, Resolution Time etc. 

Time in Status allows you to sort and filter the issues in the report, based on the calculated times. You can easily sort issues to find the ones that have spent the longest time in a given status (or the longest time for a metric). Also, you can filter issues that have spent time in a given status (or a metric) longer than a given threshold.

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 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 for Jira Cloud.

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.

Gadget_AverageStatusDurationByComponent.png  tisCloud_StatusDuration_LeadTime_Chart.png tisCloud_IssueView_Data.png

Timepiece - Time in Status for Jira

EmreT

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2023

Hi @Laura Merino Diez 

If you do not have a marketplace addon / app for performing this type on analysis, you could try iteratively using Atlassian's interpretation of a control chart: https://support.atlassian.com/jira-software-cloud/docs/view-and-understand-the-control-chart/

Perhaps trying these steps:

  • Identify the project with the apparent outliers
  • Navigate to that project's reporting, and select the control chart
  • Narrow the time range to where you believe the issue is occurring, including the relevant status values
  • Observe what you see...
    • If the number of issues is few, you can probably hover over each one, and select it, and then review the issue history
    • If the number of issues is larger, the will cluster together on the chart.  Try using the guidance in the documentation I linked earlier for how to remove outliers.
  • Repeat as needed to identify the causes

Kind regards,
Bill

0 votes
Amay Purohit_RVS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 3, 2023

Hi @Laura Merino Diez 

As others suggested, a mktplace app can help you get this data.

We have built an app for the same use case. If you are open to try it out take a look at

Time in Status Reports 

The app has 20+ reports to meet a variety of use cases.

Disclaimer : I work for RVS, the vendor for this app

TIs - Status Suration.PNG

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
December 1, 2023

Hi @Laura Merino Diez

If you prefer to use a marketplace app, 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.

Here is the online demo link, you can see it in action and try without installing the app. For further details, you can have a look at Status Time Reports How to Videos.

  • This app has a dynamic status grouping feature so that you can generate various valuable reports as time in status, time in assignee, status entry dates and status counts, cycle time and lead time, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month).
  • You can search issues by Project, Issue Type, Status, Assignee, Issue Creation/Resolution Date(and any other Date field) and JQL Query.
  • Status durations are calculated according to the working calendar you define. 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.
  • You can set different duration formats.
  • You can export reports in CSV file format and open them in MS Excel.
  • You can also add this app as a gadget to your Jira dashboards and reach “Status Time” from Issue Detail page.
  • You can enable/disable access to Status Time reports&gadgets and Issue Detail page per project, users, groups or project role.

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

Hope it helps.

0 votes
Ste Wright
Community Champion
November 30, 2023

Hi @Laura Merino Diez 

You could do this using JQL and some investigation - for example...

Search for issues that were in that given Status within your timeframe, and were not modified - eg.

status was "In Progress" and NOT status changed DURING (startOfYear(-1), endOfYear(-1))

Then, access each relevant issue and look through its issue history, to see which ones sat in a status for (much) longer than the average.

---

Or, I'd look to use an App which tracks time in status - for example...

---

Let us know what you think!

Ste

0 votes
Ezgi Bayındır
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 30, 2023

Hello @Laura Merino Diez ,

I have researched JQL solutions for you, but it seems that this process cannot be solved with JQL. You can examine these questions, you will see that all of them are app solutions.

Solved: Filter Query - Time Spent (atlassian.com)

Time spent in status (atlassian.com)

Solved: Can we know how much time a developer spent on a p... (atlassian.com)

I specifically suggest Time in Status app by OBBS, I used it before. It is practical, there are no problems with user support, and it is affordable.

Also if you have scriptrunner plugin maybe you can create a Scripted Field that calculate time in status.

Best,

Ezgi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events