Forums

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

Extract date when issue changed to ready for build

Chandra Pandey
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!
May 13, 2020

I like to extract the date when issue changed to ready for build for a project and multiple issues. may be any python script which connects with jira api? please help 

4 answers

0 votes
Emre Toptancı _OBSS_
Atlassian Partner
May 20, 2020

Hello @Chandra Pandey ,

As mentioned in other answers, you can use Jira REST API to get history data on each issue so you can filter out status changes.

You did not indicate whether you are using server or cloud but if you are using Jira Server (or Data Center) and have access to the database, you can get the same data from changegroup and changeitem tables. 

Either case, you will need to do some development to automate the extraction of this data.

If using an app is an option for you, our team at OBSS developed Timepiece - Time in Status for Jira app for this exact need. It is available for Jira Server, Data Center and Cloud.

Time in Status gives you reports showing transition dates of issues. Since an issues can visit the same status more than once, the app can show both the First and Last transition dates. The app also has reports showing how much time each issue spent on each status, each assignee, each user group.

The report output is calculated using issue histories so you can get reports for your exisiting issues as well.

EmreT

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
May 19, 2020

Hi @Chandra Pandey ,

The data you need is available in Jira Rest API. It provides the exact status transition date and time for each issue. It returns json as below, then you need to extract and calculate.
JiraRestApi-History.png

For Jira cloud, you can try Status Time add-on. It generates status time report/export.
If you are looking for a free add-on, you can try the free version, Status Time Free.

0 votes
Zoryana Bohutska _SaaSJet_
Atlassian Partner
May 15, 2020

Hi @Chandra Pandey 

If you are using cloud version of Jira, you can consider Issue History (created by my team).

It let you view the full history of changes that had been made in a selected list of issues.

So you can get data and time each issue was move to any status. 

Regards

0 votes
Tuncay Senturk
Community Champion
May 14, 2020

Hi @Chandra Pandey 

I am not Python guy but you can use Jira REST API to fetch issue history by using this REST service. JIRA_URL/rest/api/3/issue/{issue-key}?expand=changelog 

Then you need to get appropriate status change and extract the date you needed.

If you want to code less or even no code you can use Marketplace app. For instance Enhancer Plugin for Jira comes with status date custom fields which calculates those entry and exit dates. 

Please note that I’m one of the folks behind Snapbytes, there may be other solutions out there.

I hope it was helpful

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events