Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API for status time tracking

Mayur Gaikwad/Tech PMO
Contributor
May 13, 2025

Hi,

Is there any Jira API available through which we can get status time tracking details like date when it got transitioned to a particular stage and then timestamp when it got moved out of a stage

5 answers

2 votes
Rahul_RVS
Atlassian Partner
May 13, 2025

Hi @Mayur Gaikwad/Tech PMO 

You will have to read issue change log data using Jira API's to get this information.

Frr a readily available solution you can try out a mktplace app like ours below.

Time in Status Reports 

For your specific need the Status Transition details report can help. It shows the transitions the issue went through and on which date as well.

With this app you generate time in each workflow status for multiple issues with multiple filter and grouping options. The app has 20+ reports to meet a variety of use cases.

More details here.

Disclaimer : I am part of the app team for this add-on

TIS - Status Transition Details.PNG

 

TIS.png

1 vote
Iryna Menzheha_SaaSJet
Atlassian Partner
May 15, 2025

 Hi @Mayur Gaikwad/Tech PMO  👋

Yes — Jira provides an API to retrieve status transition data, but not directly as "time in status" values. Instead, you can use the issue changelog from the Jira REST API to calculate time spent in each status manually.


✅ Jira REST API for Status Transitions

You can use the following endpoint:

GET /rest/api/3/issue/{issueKey}?expand=changelog

This will return the full transition history of the issue, including:

  • From/To statuses

  • Timestamp of each change

  • User who made the change

However, this requires scripting on your side to:

  • Loop through changelog entries

  • Match status transitions

  • Calculate durations


🚀 Want an easier solution?

If you'd prefer not to build and maintain custom scripts, you can try:

👉 Time in Status

It shows exactly how long each issue has spent in each status — including current ones — and lets you filter by status, assignee, project, and more.

Frame 1021.png

💡 With Time in Status, you can:

  • Generate reports for your entire Jira history (e.g., from 2018 to 2025), as long as the issue history exists.

  • See how long each issue spent in each status (e.g., In Progress, QA, Waiting for Customer, etc.)

  • Track and compare key metrics like Cycle Time, Lead Time, Resolution Time, Assignee Time, and more.

  • Export the data to CSV/Excel for further use.

  • Apply filters by project, issue type, JQL, assignee, date range, and more.

Add-on developed by my team. 

0 votes
Maksym Babenko_TypeSwitch_
Atlassian Partner
May 29, 2025

Hey @Mayur Gaikwad/Tech PMO  I had the same need on our team, especially for analyzing how long issues spend in each status and when transitions happen.

You might want to check out Issue Delivery Report — it’s a Jira Cloud app that uses the full changelog to:

  • Show when each status transition happened

  • Calculate exact time spent in each status

  • Visualize it as a timeline + pie chart

  • Export to CSV/JSON if you need external analysis

Issue_Delivery Report.png

All of it is available inside the issue view — no scripting or API setup needed. Hope that helps!

0 votes
Gizem Gökçe _OBSS_
Atlassian Partner
May 20, 2025

Hello @Mayur Gaikwad/Tech PMO ,

The required data is available in each issue's history but you will need to use a marketplace app to get ready-to-go reports. Good news that report is available in our application where you can directly learn the transition dates without having to deal with Jira issue histories. The app is Timepiece - Time in Status for Jira , the oldest and leading Time in Status app in Atlassian Marketplace, which is built by my team at OBSS. It is available for both Jira Cloud, and Data Center. 

You can use the date-based reports to see the transition dates from/to a status. In the screenshot below you can see the transition dates of the issues to each status. I think this report will be spot on for your needs.  Timepiece also has a very capable REST API. This means you can get the reports via REST and import the result to an external reporting tool.

Report Types FT to Status Date.png

Visit Timepiece - Time in Status for Jira to experience the full range of features.

If you need I can provide a comprehensive overview of the application and address any inquiries you may have. Just let me know if you need any help.

Best,

Gizem

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
May 13, 2025

Hi @Mayur Gaikwad/Tech PMO

The raw data you need is available in issue history and you can get it using Jira Rest API. The API returns a JSON response containing all status changes for each issue. You will need to parse this data to identify the timestamps for key status transitions.

If you prefer using 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.

Here is the online demo link, you can see it in action and try without installing the app. For further details Status Time Reports How to Videos.

App Features:

  • This app has a dynamic status grouping feature so that you can generate various valuable reports as time in status, time in assignee, status entry dates and status counts, cycle time and lead time, average/sum reports by any field(e.g. average in progress time by project, average cycle time by issue creation month).
  • You can search issues by Project, Issue Type, Status, Assignee, Issue Creation/Resolution Date(and any other Date field) and JQL Query.
  • 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 set different duration formats.
  • You can export reports in CSV file format and open them in MS Excel.
  • You can also add this app as a gadget to your Jira dashboards and reach “Status Time” from Issue Detail page.
  • You can enable/disable access to Status Time reports&gadgets and Issue Detail page per project, users, groups or project role.

If you are looking for a completely free solution, you can try the limited version Status Time Reports Free.

If you have any questions, feel free to schedule a call with us.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events