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
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...
Well, that was pretty straightforward. Sometimes I forget that status is also a field...
Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.