Hi community, I want to create an automation that counts the number of business hours an issue was in a state. I was looking at the documentation and I see that it has the part of business days but in my case I would need to count only business hours. Is this possible? Thanks
Hello @Pablo Albani and everybody who is looking for solution š
There is nothing built-in which can do that for working hours. Instead the built-in, i recommend you to try you Time in Status for Jira by SaaSJet.
You can also book a live demo - we'll show you the application inside out and answer all your questions.
Add-on has a 30-day free trial version and free up to 10 users.
Hope it helps š
Hello @Pablo Albani
Our team at OBSS built Time in Status 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.
The app can create reports based on a 24/7 calendar you can define your customer business calendars (each with its own working days, working hours, and holidays) to get reports.
You can combine the time for multiple statuses to get metrics 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 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 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.
https://marketplace.atlassian.com/apps/1211756/
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would help if you could provide a little more context to your goals for the rule:
This additional information is important in helping us understand how to best help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark, the rule is activated when you enter the state, you can return to the state several times so the idea is to accumulate the working hours that are in that state. What you want with the rule is to get an average of the time that the issues are in each state. Greetings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the added context. I think you need a couple custom fields for this.
From there you'd need a rule like this (for my example, I'm using In Progress)
Rule 1: Issue Entered Status
Rule 2: Issue Exited Status
{{#=}}{{issue.Business Hours}}+({{issue.Entered Status.diff(now()).businessDays}}*8){{/}}
Now, for your need to get an average, you will probably need a marketplace app. I'm partial to Rich Filters as it should be able to key on the Business Hours field and provide the average.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to Mark's earlier question: why are you measuring this? That is, what problem are you trying to solve?
For example, is this a billing tracking thing, a process improvement thing, something else? If this for tracking back-and-forth in process flow, please instead consider discussing this with the team to learn why issues are moving backwards in flow. Knowing that may help reduce/eliminate the root cause, and so eliminate the need to measure this.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill, what you are trying to see is how long it was in each state, the flow has the possibility of advances and reversals so you want to see the cumulative by state.
Greetings
Pablo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for clarifying, Pablo.
What you are trying to measure is often called "Time In Status" and can sum up to "Build Cycle Time" when it spans the different status values from start-of-work until completion.
There is nothing built-in which can do that for working hours. Instead the built-in, Atlassian interpretation of the Control Chart Report uses calendar days/hours. To see more information you would need to:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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 also set different duration formats.
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 Time in Status for Each Issue report. For further details, please see Status Time Reports How to Videos.
If you are looking for a completely 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.