I'm working with Jira using Groovy scripts and I'm trying to modify a HistoryBean object in Jira Insight plugin. In some answer, it was suggested to call 'save' after modifying an object in certain cases. However, in my case, I couldn't find any methods like 'save()' or 'update()' to save the changes made to a newly created HistoryBean object.
Question: How can I save the changes made to a HistoryBean object in Jira using Groovy scripts? Are there any methods available for saving the modified object?
Hi @Georg
Could you please clarify why do you need to use the HistoryBean?
The simpler approach I would recommend would be to use ScriptRunner's HAPI feature for Assets.
Please refer to this ScriptRunner Documentation for more information.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.