Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Validate insight customfield on create issue transition returns null

Plamen Georgiev Petkov May 7, 2021

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
image.png

image.png

 

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

 

image.png

 

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.

2 answers

0 votes
Plamen Georgiev Petkov May 12, 2021

Hi. 
I asked Atlassian about this problem and a new bug was found https://jira.atlassian.com/browse/JRACLOUD-76594
Can`t validate insight customfield on create transition. 

I hope this not delay

0 votes
David Fischer
Community Champion
May 7, 2021

Hi @Plamen Georgiev Petkov ,

that error means that the custom field is empty when the validator runs. It likely means that Insight fills in this field only after the issue is created, even though data is input on the Create screen.

You can open a support request with Atlassian, since they now own Insight.

Plamen Georgiev Petkov May 7, 2021

Hi @David Fischer 

Thanks for your replay. 

I will ask Atlassian about this error. 

Thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events