Forums

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

Accessing transition dates in JIRA

Guilherme Peres August 12, 2013

Hi,

I'm trying to populate a date custom field in JIRA through a groovy script using a date from a previous transition. I was trying to avoid SQL queries (even knowing that OS_HISTORYSTEP has the values that I want, specifically FINISH_DATE), and thought that ChangeHistoryManager would have what I need, but I don't see any methods to get the STEP_ID or ACTION_ID from ChangeHistories or ChangeItems. Since these are the ones I need for identifying my transition, is there any way to get them besides SQL? Or is there an easier way to do what I want?

(manually is not an option: there are 3000 issues in need of this)

Thank you!

Guilherme

1 answer

1 accepted

1 vote
Answer accepted
Deleted user August 12, 2013

Of course the are values you are looking for - look for changes of field status.

Have a look at TransitionsManager.java from JIRA Suite Utilities - although written rather obsolete way...

Guilherme Peres August 12, 2013

Well, that was pretty straightforward. Sometimes I forget that status is also a field...

Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events