Forums

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

Time in status via Jira API

Daria Pavlova February 5, 2022

Hi guys!

is there any solution how to get time in status info using Jira API? Did someone tried this?

Not interested in marketplace products.

 

thanks! 

3 answers

1 vote
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2022

You should look at this article I wrote a while back. There's a function I made called time_in_status() it can help extract the time in status on any issue on Jira. You can also use a JQL search to retrieve the time in status on every issue within your project or projects.

1 vote
Yuliia_Borivets__SaaSJet_
Atlassian Partner
February 5, 2022
1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2022

If you read an issue over the REST API, you can get its full history, which includes a date and time of every change of status (and create as well, of course), so you can easily code something to parse the history for each "changed status to" line.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events