I am wondering if I can extract the data from Transitions tab of a jira ticket, particularly the time duration of each transition, using a jira rest api?
If you are using Jira Cloud and want to have quick view to focus on status transition at issue level then you can use a free Jira Cloud Plugin -
Issue Status Insights- Time in Status
Jira doesn’t provide an easy way to track how long an issue spends in each status, requiring users to sift through history logs. Issue Status Insight solves this by showing all status transitions in one place, automatically calculating time spent in each status, and offering an aggregated view of totalyy time. While Board Insights focuses on stuck issues and provides broader reporting solutions, Issue Status Insight zooms in on individual issues, offering quick, detailed status insights directly at the issue level without needing to navigate to higher-level reports.
Update on May 9th, 2024: Time in Status by OBSS was recently rebranded as Timepiece. It is still the same capable app with the same dedicated team behind it. The answer below mentions the app as "Time in Status" but you can find the app in the marketplace as "Timepiece (formerly Time in Status)".
Hello @Amber Austria ,
Welcome to the community!
Sometimes trying to build your own solution using the Jira API can be difficult, confusing and time-consuming. For specific needs like yours, it is better to use out-of-the-box solutions.
If you are open to using an application specifically tailored to your needs, Time in Status which is developed by my team at OBSS, is the tool I would highly recommend. It is available for both Jira Cloud, and Data Center.
Time in Status mainly allows you to see how much time each issue spent on each status or each assignee.
You can combine the time for multiple statuses to get metrics like Response Time, Resolution Time, Issue Age, Cycle Time, Lead Time etc. For all numeric report types, you can also calculate averages and sums of those durations grouped by the issue fields you select. For example total in-progress time per customer or average response time per year, 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. And the app has a REST API so you can get the reports from Jira UI or via REST. Also you can export the reports in to various formats easily.
Visit Time in Status to explore how our JIRA add-on can revolutionize your metrics measurement process. Enjoy a 30-day free trial to experience the full range of features.
Hope it helps,
Gizem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Amber Austria ,
The data you need is available in issue history and you can get it using the issue REST API. It provides the exact status change date time for each issue.
/rest/api/2/issue/{issueIdOrKey}?expand=changelog
If you are looking for a ready-made solution instead of dealing with Json API response coding and parsing, you can try Status Time Reports app developed by our team. It provides reports on when status changes happened as well as how much time passed in each status.
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.
Welcome to the community.
Please check the answers in this thread: Time in status via Jira API
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.