How to trackhow long each ticket was opened for in a project and create report on It?

Vera Valshonok
Contributor
November 22, 2024

Hi!

IS there a way to stack for a project how long each ticket was opened for and create report on It?  

I want to see tume in front of each ticket and be able to create a report from It.

Thanks!

6 answers

1 accepted

4 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2024

Hi @Vera Valshonok , if you mean you would like to display the time between Created and Resolved for each issue then I would suggest adding a custom field (e,g. Time open, etc) and use automation to populate that field when an issue is resolved. the following Automation smart value should give you the time in hours, minutes, seconds if my memory serves...

{{issue.created.diff(issue.resolutiondate).prettyPrint}}

 

Vera Valshonok
Contributor
November 23, 2024

Thanks!

How should the automation looks like and where the field takes info from in this case, from SLA?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2024

Example rule

IMG_4864.jpeg

output looks like...

Time was 848 days 0 hours 11 minutes 31 seconds

3 votes
Vitalii_Bobak_SaaSJet
Atlassian Partner
November 27, 2024

Hi @Vera Valshonok 

If you need more precise report, you can try out Time Between Statuses add-on.  
This tool is great for precise reporting because it includes options like calendar settings (working days/hours) and allows you to customize transition settings (e.g., first time, last time, or total time in status).

image.png

In your earlier question about creating a report to measure the time from "Work in Progress" to "Done" while skipping certain statuses, the Time Between Statuses app also provides the flexibility to exclude specific statuses from the calculation.

For your current query, the app can help you:

  1. Measure the total time each ticket was "opened" by calculating the time from the creation status to its resolution or closure.
  2. Generate reports that show this time in a clear format, including exporting the data for further analysis.

You can also book a live session or contact us at Support - we'll help you with add-on. 

Add-ons developed by my team.

Let me know if you'd like a walkthrough or more details! 😊

1 vote
Gizem Gökçe _OBSS_
Atlassian Partner
December 2, 2024

Hello @Vera Valshonok ,

To track how long each ticket was open and create detailed reports, I recommend using Timepiece - Time in Status for Jira, developed by my team at OBSS.

Timepiece automatically calculates the total time tickets spend across their lifecycle or within specific statuses, such as from creation to resolution. Key features include:

  • Status Duration Report: Shows time spent in each status and allows combining statuses to calculate metrics like Issue Age, Cycle Time, Lead Time, and Resolution Time.
  • Export Options: Generate reports in formats like CSV or XLS.
  • Dashboard Gadget: Add reports directly to Jira dashboards for easy accessStatus Duration Report in Detail.png

Timepiece is available for both Jira Cloud and Data Center. Let me know if you’d like help setting up this report or need more information! If you wish, you can also schedule a live demo. We will provide a comprehensive overview of the application and address any inquiries you may have.

Hope it helps,

Gizem

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
December 5, 2024

Hi @Vera Valshonok,

As far as I understand, what you are looking for is a lead time (the time interval between the moment an issue is requested to the moment it is completed) report. The raw data you need is available in issue history and you can get it using Jira Rest API. It provides status changes for each issue by returning a json which you need to parse to calculate lead time.

If you prefer using 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 your case, you can have a look at Lead Time for Each Issue report. You can choose the statuses that you want to include in 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 article and Status Time Reports How to Videos.

App Features:

  • 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
Hannes Obweger - JXL for Jira
Atlassian Partner
December 1, 2024

Hi @Vera Valshonok

if you're open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on: JXL for Jira.

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 long list of so-called history columns that aren't natively available, including the time in [status], time between [status] and [status], and many, many more.

This is how it looks in action:

time-in-status-v2.gif

As you can see above, you can easily sort and filter by your history columns, and also use them across JXL's advanced features, such as support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting. Of course, you can also export your data to Excel or CSV in just two clicks.

Any questions just let me know,

Best,

Hannes

0 votes
Danut M [StonikByte]
Atlassian Partner
November 26, 2024

Hi @Vera Valshonok,

The solution offered by @Jack Brickey is great, being based on the Jira native's functionality, but if an issue is resolved and after a while is reopened and resolved again, the calculated time will also include the time the issue stayed in the first resolved status... 

For more accurate data, you could try using an app from Atlassian Marketplace that is capable to calculate the total time issues stayed in "to-do" and "in-progress" status categories. 

If you consider the idea of using an app, our Great Gadgets app has a Time in Status gadget that displays the time in each status along with the Total time for each issue. By default, the gadget does not include the "done" category statuses - so you will get an accurate with the time each ticket was open for with minimal effort. This report can be easily exported in CVS. 

image.png

image.png

Danut   

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2024

If you wanted to reset the clock on reopen, simply use a separate rule to clear the custom field. This is not to diminish any third-part app as there are many great such solutions and if the requirements justify the added cost that is the way to go. 

Suggest an answer

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

Atlassian Community Events