Hello. I've been having trouble setting up post functions for a custom field "Time in Status". Basically we want to track the time spent in a status and accumulate it every time it switches. Scenario:
- A transition happens from "Ready for Test" to "In testing"
- During this transition, we want to track how long did the issue stay under the "In Testing" status
- If a transition happens from "In Testing" to anything else, the time tracking stops
- If at any point it transitions back to "In Testing" it starts tracking again.
Which post functions should I use to achieve this?
To get the time in status data, as an alternative, you can try Time in Status for Jira Cloud. This add-on is developed by my team and is free for using up to 10 users. So you can try it easily.
It generates 7 types of status time reports, including the Time in Status report, which tracks the time in each status of your workflow.
You can additionally tracking the Assignee (efforts of each team member) or Average time in status.
I hope you find it helpful. In case you have additional questions, please, let me know.
Welcome to Atlassian Community!
As an alternative, you can try Status Time Reports app developed by our team which is available for Jira Server/Data Center/Cloud. 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. In your case, you can have a look at Time in Status for Each Issue report.
If you are looking for a free solution, you can try the limited version Status Time Free.
Note: If you are interested in cycle and lead time, you can have a look at the article below.
Cycle Time and Lead Time in Jira: Productivity Measurement with Two Critical Parameters
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.
For a ready made solution, you can try out our add-on to get this data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Edgaras Baumila
The raw data you need for this report is available in each issue's history but Jira does not give this to you as a ready-to-use report.
Measuring this manually is expensive to build/maintain (needs to be put into every workflow), very hard to scale (a separate custom field for each measurement), and does not work for past issues.
I suggest you use a marketplace app built for this purpose.
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.
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, you don't create custom fields and you can get reports on your past issues as well. It supports both Company Managed and Team Managed projects.
Time in Status mainly allows you to see how much time each issue spent on each status and on each assignee.
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.
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:
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.
Essentially we are looking for something very minimal without using any plugins. First we want to validate this ideas as a proof of concept before we look into more advanced solutions.
I found that a similar thread was opened here:
https://community.atlassian.com/t5/Jira-Software-questions/Time-spent-for-QA/qaq-p/1627976
However I did not notice the specific post functions I would need to use in order the achieve the desired result.
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.