I would like to calculate the time spent of an issue in the QA state , when enters into the QA state / Closed State for the first time. The transitions are QA to QA and QA to closed.
Hello @Priyanka K ,
Our team at OBSS built Time in Status app for this exact need and it is available for Jira Server, Cloud, and Data Center.
Time in Status allows you to see how much time each issue spent on each status or assigned to each assignee. The app can also give you the first/last transition dates from/to each status. You can combine statuses into consolidated columns to see metrics like Ticket Age, Cycle Time, or Lead Time.
You can calculate averages and sums of those durations grouped by the issue fields you select.
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.
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.
Using Time in Status you can:
Hi @Priyanka K ,
The data you need is available in Jira Rest API. It provides the exact status transition date and time for each issue. It returns json, then you need to calculate it by coding which parses issue history rest api json for each issue.
Or you can search for marketplace apps which does the same for you. One of them is Status Time app developed by our team. It provides reports on how much time passed in each status, status entry dates and status count.
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. It has various other reports like assignee time, status entry dates, average/sum reports by any field(eg. average in progress time by project, average cycle time by issue creation month). And all these are available as gadgets on the dashboard too. 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.
Hi @Priyanka K
You can use Jira Rest API to get this data.
Or If you would be interested in an easy to use ready made solution, you can try out our plugin
The add-on provides the time spent in each status for the entire lifecycle of the issue. You can also extract the transitions history of the issue.
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