Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Modifying History in Insight using Groovy

Hello everyone!

I have recently started working with Jira using Groovy scripts. I have found ways to work with the history of Insight objects link. Despite the availability of methods such as setNewValue(), setType(), and so on, for modifying the fields of HistoryBean, I only see these changes within the same script when I retrieve the list of HistoryBean again. However, the Jira interface doesn't reflect any changes.

Question: How can I correctly modify HistoryBean? Is it possible to create a new HistoryBean object using a script?

Thank you!

1 answer

0 votes
Graham Twine
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2023

Hello  @Georg ,


In a few places in the system one needs to call a 'save' after something is modified.

This may of some use to get you going

Hello Graham!
Thank you for the prompt response. I understood which direction to move in. However, in the example, a new mutable object is created, and I couldn't find any ways to save it except for the method "objectFacade.storeObjectBean(object)" which accepts a newly created object.
Are there any methods with simpler logic, like save()/update()?

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events