Forums

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

Timestamp in statuses

Tcelishchev Nikita May 21, 2019 edited

Hello

How can I find out how much time a task has spent in each of its statuses?
I looked at the API, but in the responses I did not see the date of transfer to the status and exit from it, so I can't use it.
I think I can use SLA, but maybe there are some other options?

We use Jira Server 7.13.1

3 answers

1 accepted

1 vote
Answer accepted
Nir Haimov
Community Champion
May 21, 2019 edited

Hi @Tcelishchev Nikita 

Using the API you can investigate the "changelog" of an issue.

There you will see when an issue started/ended to be in a specific status.

It will be something like:

  • issue changed from "open" to "in progress" on May 21 2019 13:00
  • issue changed from "in progress" to "done" on May 21 2019 18:00

With this info you can find the duration an issue was in a status

Tcelishchev Nikita May 21, 2019

Hi @Nir Haimov 

Thanks for the advice!

Do you mean "Get issue" request?

In response I see only time of last update. It's don't have all transitions of that issue.

I think we can sent name of issue status and time to our database and then do mathematecal things to see time that issue been in a specific status.

Do I understand you correctly or could it be a simplier way?

Nir Haimov
Community Champion
May 21, 2019

Hi @Tcelishchev Nikita ,

Use this: https://<your-jira-url>/rest/api/2/issue/<issuekey>?expand=changelog

This will return you (in the json) another attribute called "changelog"

Tcelishchev Nikita May 21, 2019

Hi @Nir Haimov 

Thanks, it really works!

0 votes
smadarb October 13, 2021

Should this still work?

0 votes
Tcelishchev Nikita May 21, 2019 edited

1

Amit Kumar Singh
Contributor
October 26, 2022

Hi @Nir Haimov - I have same question, i read out your answers above, but below link is not working.

https://<your-jira-url>/rest/api/2/issue/<issuekey>?expand=changelog

Like • Jana Van Aardt likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events