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

3 answers

1 vote
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

0 votes
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
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