Is it possible to access the time duration in Transitions tab of a jira ticket using jira rest api?

Amber Austria
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2024

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?

3 answers

0 votes
Gizem Gökçe _OBSS_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 29, 2024

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

Report Types Status Duration Report.png

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. 

SS3.png

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. 

SS4.png

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

0 votes
Bloompeak Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 29, 2024

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.

0 votes
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Hi @Amber Austria 

Welcome to the community.

Please check the answers in this thread: Time in status via Jira API

Suggest an answer

Log in or Sign up to answer