Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,271
Community Members
 
Community Events
165
Community Groups

Track time spent in each status

Can Jira track the time an issue is spent in each status and fire off an email to a manager if the time spent in each status is longer than, say 2 days?

4 answers

Hello @chris wolfe 

You may take a look at some Clockwork apps.

Or, you can also try the add-ons described below:

 SLA Time and Report for Jira. All you need is to set Start and Stop timers to determine the status you want to generate data based on. And set a notification.starstop.png

 Time in Status for Jira Cloud allows tracking the time in each status for a chosen period, and generates a Time in Status report.

tis report.png

You can export the report as CSV or XLSX files for further analysis.

These addons are developed by my team and are free for using up to 10 users. Please, let me know if you have any questions.

Hope it helps

Hello @chris wolfe 

Welcome to the community.

Jira does not natively provide a way for you to report on the time a status spends in a given status. There are third party apps you can add to your system that can help with that, or you can use a combination of custom fields and automation to record those values without a third party app.

What problem are you really trying to solve, though?

Do you really want to report on issues that have spent more than 2 days in any status at any time, regardless of their current status or how long it has been since they changed status?

Or do you want to report on issues that as of today have been in their current status for more than 2 days? You can get that list with the following filter. I also designed it to exclude the issues created in that time and exclude the issues that are in a Done status.

PROJECT = <yourProject> AND NOT Status Changed AFTER -2d AND Created < -2d and statuscategory!=Done

You can set up such a filter and save it and have people subscribe to it to get the results via email on a schedule.

Thanks for the answers guys. 

I'll check out these solutions.

Appreciate your help!

0 votes

Hello @chris wolfe

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

tisCloud_StatusDuration_LeadTime_with Estimates.png  tisCloud_AssigneeDuration.png     

It also allows you to filter issues based on status durations so you can get issues that stayed in a status for more that 2 days.

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.

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.

The app itself does not send e-mail but you can put a filtered report to a dashboard to follow issues. You can also utilize the REST API if you want to build your own automation.

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

https://marketplace.atlassian.com/apps/1211756/

EmreT

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you