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?