Hi All,
How can I resolve the issue in ScriptRunner behaviour where null values in the payload lead to errors when using functions like getValue, formvalue?
What steps should be taken to ensure proper initialization and population of payload data in the initializer script to prevent empty or null issue objects?
Please find attached a screenshot from the ScriptRunner behavior screen. This screenshot illustrates an issue where null values in the payload are causing errors when using functions like getValuegetValue,
*UI Create form('Test plan'-->customfield_10627--> multi issue picker)


*Scriptrunner behaviour initiliser script payload


Initiliser script:-

Additionally, it's worth noting that the current ScriptRunner version being used is 8.3.0, which may not be up to date. Kindly inform me if any similar bugs have been reported for this version.