Hi community.
I want a validate a couple of insight fields on create transition in Jira Service Management Cloud. I use Scriptrunner and JMWE plugins
When i test the code inside the validator against an already created issue everything looks fine, i get the insight field object with the objectId value


But when i try to create a issue depend of a insight customfield i get this error:

Looks like this customfield is null on create transition
How can i validate the value of some insight customfield in create transition ?
Thanks in advance.