Forums

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

How can I get a transition date in an issue custom field on Jira Cloud (an issue is already closed)?

Slava Starovoitov June 15, 2018

Hello!

I need to change Resolved date of a group of issues. I need to replace it by the last transition date.

I managed with a first part - a changing. But now I can not get the required date, becouse I found out ScripRunner Cloud has not scripted fields.

It there a way to finish my need and have required dates? It could be an export file or any possible workaround.

Thank you in advance!

With regards

Vyacheslav

1 answer

0 votes
Alexey Matveev
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.
June 15, 2018

Hello,

You can write a program using Jira Cloud Rest Api. Get all issues by the select Rest Api Call. Then get the history for all issues form the first REST call, using the issue Rest Call. Then look for the last transaction and get the date of the last transaction. then update the resolved date.

Slava Starovoitov June 15, 2018

Hi Alexey,

Thanks for the answer!

In what language can this program be written? Is there some information about using Jira Cloud Rest Api?

I have never used it before)

Alexey Matveev
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.
June 15, 2018

You can write the program in any language you want. Most languages can do rest calls. Here you can find info about Jira Cloud Rest Api:

https://developer.atlassian.com/cloud/jira/platform/rest/

Slava Starovoitov June 26, 2018

Thanks, Alexey! Added to favorites (y)

I found a little bit easier solution in my case. I got it by using Xporter plugin which allows to get many history events including transition dates.

See you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events