Forums

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

How is get timestamp of transit to a status of a old issue in Scriptrunner console?

Kim Tso March 26, 2020

I would like to do some "data patching" for some old record since I have updated some logic of the workflow, can I get a timestamp of previous issue status?

For example, the workflow like

 

Open (validate)> Created (processing) > Wait for Approve > Done

Can I get the timestamp once moved to "Created"?

1 answer

1 accepted

0 votes
Answer accepted
moofoo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2020

Hi Kim_Tso,

Thanks so much for your question.

As for timestamps, you might want to look into the events from the issue history. You can use

com.atlassian.jira.issue.changehistory.ChangeHistoryManager#getAllChangeItems(Issue)

to get a list of ChangeHistoryItem objects, each representing the changes made to the specified issue.

As for the ScriptRunner part of your question, this is related to a Marketplace app so I would recommend that you reach out to Adaptavist support for assistance.

Thank you,

Artem
Jira Service Desk team

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events