How to track time for ticket to be resolved excluding time it spend in specific statuses?
Asked by Vera Valshonok:

Hi Community,

I am looking for a way to track how much time was taken for the ticket to become resolved (excluding time in two of the statuses that are located i the middle of the workflow).


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

in JSM you can use SLAs for that.

You can define SLAs to your liking, configuring when they start counting, when they pause and when they end. You can also define goal metrics dependent on issue fields.

[Set up SLA conditions \| Jira Service Management Cloud \| Atlassian Support](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-sla-conditions/)

In your case, the SLA should start on Request creation, pause in Status A and B and end when the resolution is set (or the issue reaches a specific status).

comments: author: Rebekka Heilmann _viadee_
body: Usually, new JSM projects will come with a couple of standard configurations, one of which is Time to Resolution. You only need to edit that SLA to something like this:

![Screenshot 2024-04-10 105225.png](https://community.atlassian.com/t5/image/serverpage/image-id/317392i278CEBB245B3942F/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 105225.png")


author: Vera Valshonok
body: Thanks! got it! Where do i see after this info? For much time tickets been from created to closed or waiting for approval for example excluding couple of statuses. Where does this info show?


author: Rebekka Heilmann _viadee_
body: There is an SLA Panel in the issue view of a Request. You can turn that on/off for each Request type. You can also add the SLAs to the Queue view.

Moreover, Under Knowledge \> Reports in your project side bar there are multiple preset and custom reports available.

![Screenshot 2024-04-10 161116.png](https://community.atlassian.com/t5/image/serverpage/image-id/317458iD0A7BF2D64A58A1F/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 161116.png")![Screenshot 2024-04-10 161154.png](https://community.atlassian.com/t5/image/serverpage/image-id/317457i3E700C3D4AFDB82B/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 161154.png")![Screenshot 2024-04-10 161142.png](https://community.atlassian.com/t5/image/serverpage/image-id/317456iF33E4E3DC9C191E8/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 161142.png")


author: Vitaly_Berezovsky_SaaSJet
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

You can realize this using our add-on [SLA Time and Report for Jira](https://marketplace.atlassian.com/apps/1220741/?utm_source=Atlassian_Community&utm_medium=refferal&utm_campaign=Comment_How-to-track-time-for-ticket-to-be-resolved-excluding-time-it_20240410).

You need to open the Grid Table to monitor task fulfillment.

![4037eb09-3d91-4d27-a7c9-9f5cbe25cac2.png](https://community.atlassian.com/t5/image/serverpage/image-id/326513iF58E5A997C2C5142/image-size/large?v=v2&px=999 "4037eb09-3d91-4d27-a7c9-9f5cbe25cac2.png")

After you can see Enhanced/**Elapsed time** hints (for SLA timers and on column hover) with:

* start and target dates;

* demonstration of data on the percentage of completion SLA to the target date, elapsed and remaining time;

* SLA status;

* type of the Calendar used to calculate time.

![fafe7574-ddef-4747-93de-c114116e1775.png](https://community.atlassian.com/t5/image/serverpage/image-id/326511i13F7A9A2EFC52A5D/image-dimensions/285x145?v=v2 "fafe7574-ddef-4747-93de-c114116e1775.png")

You can export a table report as XLSX or CSV files with elapsed time.

![99a04693-c6d7-424e-8cac-4bdc37c36983.png](https://community.atlassian.com/t5/image/serverpage/image-id/326512i28F81065F13C5FF1/image-dimensions/390x199?v=v2 "99a04693-c6d7-424e-8cac-4bdc37c36983.png")

The application has a [30-day trial period](https://marketplace.atlassian.com/apps/1220741/?utm_source=Atlassian_Community&utm_medium=refferal&utm_campaign=Comment_How-to-track-time-for-ticket-to-be-resolved-excluding-time-it_20240410) and is free for small teams (up to 10 users), so you can check how well it suits you. My team developed it so our support team can help you with the settings

comments: author: Vera Valshonok
body: We are looking for the way to track it without the payed app


author: Hannes Obweger - JXL for Jira
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542)

as [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) said, I'd also look into SLAs first to see if your exact use case can be modelled.

If this isn't possible for one reason or another, there are also a number of apps available in the Atlassian Marketplace that operate in this space. As an example, this would be easy to do using the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2666432).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It also comes with a number of so-called *history columns* that aren't natively available, including *time in status\[es\]* , and many more. In your time in status column, you can pick all the statuses you are interested in (and leave out the ones you don't want to be considered), and then chose to see the *combined* time across all relevant statuses.

This is how it looks in action:

![time-in-waiting-avg.gif](https://community.atlassian.com/t5/image/serverpage/image-id/317414iBB3BE5CFA64C78F2/image-size/large?v=v2&px=999 "time-in-waiting-avg.gif")

In the example above, "Time waiting" would be a combination of a couple of statuses. As you can see above, you can easily sort and filter by it, and also use it across JXL's advanced features, such as support for (configurable) *issue hierarchies* , *issue grouping* by any issue field(s), *sum-ups* , or *conditional formatting*.

Any questions just let me know,

Best,

Hannes


author: Valeriia_Havrylenko_SaaSJet
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542) ?  

To track time for ticket to be resolved excluding time it spend in specific statuses in 2 clicks it with [Time in Status](https://marketplace.atlassian.com/apps/1219732/time-in-status-for-jira-cloud?hosting=cloud&tab=overview&utm_source=Atlassian_Marketplace&utm_medium=referral&utm_campaign=Comment_How-to-track-time-for-ticket-to-be-resolved-excluding-time-it_20240410)   
Just simply:   

* Filter issues: Resolved
* Choose statuses that you need

![?????? ?????? 2024-04-11 ? 14.03.37.png](https://community.atlassian.com/t5/image/serverpage/image-id/317690iB65BACA01AB661CA/image-size/large?v=v2&px=999 "?????? ?????? 2024-04-11 ? 14.03.37.png")If you have team up to 10 user add-on is free for you, also you have 30-day free period. Add-on powered by my SaaSJet team.   
Have a nice day ? ?


author: Gizem G?k?e _OBSS_
body: Update on May 9th, 2024: Time in Status by OBSS was recently rebranded as [Timepiece](https://marketplace.atlassian.com/apps/1211756/). It is still the same capable app with the same dedicated team behind it. The answer below mentions the app as "[Time in Status](https://marketplace.atlassian.com/apps/1211756/)" but you can find the app in the marketplace as "[Timepiece (formerly Time in Status)](https://marketplace.atlassian.com/apps/1211756/)".

Hello [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542) ,

If you are ok to use a marketplace app for your reports, [Time in Status](https://marketplace.atlassian.com/apps/1211756/) which is developed by my team at OBSS, is the tool I would highly recommend. It is available for both Jira Cloud and Data Center.

Time in Status mainly allows you to see how much time each issue spent on each **status** or each **assignee**.

Time in Status offers two report types for your case:

The first one is **Status Duration** report (please see the screenshot above) which shows how much time each issue spent on each status. You can combine the time for multiple statuses to get metrics like **Issue Age, Cycle Time, Lead Time, Resolution Time** etc. ![Report Types Status Duration Report.png](https://community.atlassian.com/t5/image/serverpage/image-id/297374iE72D86867BE066ED/image-dimensions/522x155?v=v2 "Report Types Status Duration Report.png")

As an alternative approach, Time in Status also has **Duration Between Statuses** report type which shows the duration between two specific statuses. This report type also allows the user to exclude the times for "pause" statuses.

![Report Types DBS.png](https://community.atlassian.com/t5/image/serverpage/image-id/297370iCC7452996EAEABBC/image-dimensions/505x150?v=v2 "Report Types DBS.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.

Visit [Time in Status](https://marketplace.atlassian.com/apps/1211756/time-in-status?hosting=cloud&tab=overview&utm_source=community&utm_medium=answer) to explore how our JIRA add-on can revolutionize your metrics measurement process. Enjoy **a 30-day free trial** to experience the full range of features.

If you wish, you can also [schedule a live demo.](https://calendar.app.google/faQYgsEekRdFxnPj7) We will provide a comprehensive overview of the application and address any inquiries you may have.

Hope it helps,

Gizem


author: Mehmet A _Bloompeak_
body: Hi [@Vera Valshonok](/t5/user/viewprofilepage/user-id/5174542),

I think lead time report is what you are looking for. If you prefer using a marketplace app, you can try [Status Time Reports](https://marketplace.atlassian.com/1221826) 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](http://status-time.bloompeak.io/demo), you can see it in action and try without installing the app. For your case, you can have a look at [Lead Time for Each Issue](https://bloompeak.atlassian.net/plugins/servlet/ac/io.bloompeak.status-time/st-report?ac.reportid=904) report. You can customize your lead time report by choosing the statuses you want to include in your lead time calculation.

For further details, you can have a look at [Cycle Time and Lead Time in Jira: Productivity Measurement with Two Critical Parameters](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Cycle-Time-and-Lead-Time-in-Jira-Productivity-Measurement-with/ba-p/1905845) article and [Status Time Reports How to Videos](https://www.youtube.com/playlist?list=PLVHoaAkoFPJnG9nLkzcxG0P00ndQgimDs).

* 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, resolution 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](https://marketplace.atlassian.com/apps/1222051).

If you have any questions, feel free to [schedule a demo](https://bloompeak.io/schedule-a-call) with us.

Hope it helps.


Tags: cloud

jira-service-management

jira-service-management-cloud