Hello
i am trying to write a query to help monitor outlier tasks that spent more than 2h in a specific status and has note been moved yet to another status
here i have jobs in status "in progress"
i have the time stamp of the movement from the previous status
i need to create a query for example ... how many jobs have been setting there in progress for more than 2h
Hello @mahmoud burhamy
The most convenient way (as for me) to track time an issue has spent in status is to use the add-on from the Atlassian Markteplace.
For such an aim, you can try Time in Status for Jira Cloud which generates 7 types of status reports including a Time in Status one. I huess, it will help.
If you need to get the total time spent to solve the issue, you can monitor it with Cycle time easily.
This add-on is developed by my team. Please, let me know if you have any questions.
As an alternative, 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.
If you are looking for a free solution, you can try the limited version Status Time Free.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you're open to solutions from the Marketplace, here's an app that should solve your use case very easily: 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, including a number of "smart fields" that aren't otherwise available. One of these "smart fields" is "time since status change", also know as "time in status". You can simply add this field to your table, and then, e.g., perform a simple filter operation. This is how this looks in action:
It's worth noting that JXL can do much more than that: From bulk issue editing to inline issue creation, to support for issue hierarchies, grouping, sum-ups, and conditional formatting. Disclaimer: I work on JXL :)
Any questions just let me know,
Best,
Hannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you would be interested in a mktplace solution, you can try out our plugin, to get this data
The add-on provides the time in each status for the entire lifecycle of the issue. You can also filter for issues which are spending more time in a particular status.
Disclaimer : I am part of the RVS team who developed this plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @mahmoud burhamy ,
I am sorry but you can't get this data with a simple JQL query. Jira does not offer this out-of-the-box, but the data needed for this report is available in each issue's history.
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 is also possible to find the outliers using the Filter function.
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.
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.
Using Time in Status you can:
Timepiece - Time in Status for Jira
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahmoud,
what version of Jira are you using? What is the deployment? What should haben, wenn die timelimit is breached?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i really do not know the version ... can you tell me how to know the version ?
i am the head of three teams lets call them A B C , A production is B demand and B production is C demand
so the tasks are moving like that A->B->C
each ticket spends an average time of 1 or 2 h at each stage
each team needs to monitor the time of the tickets at their stage
so if each team has about 20 people working and each member has a ticket at that stage i need them to filter all the 20 tickets and only show the ones that have exceeded specific duration lets say 2h duration
nothing should happen when the time is breached ... only that filter will show these results then the leader will contact the member and see why is it taking so long
so it is basically a monitor method to control the time outliers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
project = mtp AND status = "in progress" and "in progress" > '1h'
i am trying to add a duration after the status ... but nothing is showing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you use Jira Cloud or a self hosted Server/DC environment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
considering your current setup, there is nothing out of the box, that will give you this information.
There are several ways though to solve your problem. The easiest would be a 3rd party app you have to install. There are several ones on the marketplace, this one for example is free: https://marketplace.atlassian.com/apps/1222051/status-time-free?hosting=server&tab=overview
The alternative would require some scripting and an app to run these scripts, preferred one would be Scriptrunner. An example where to start can be found here.
Sorry that there is no easy way..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.