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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.