Forums

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

How can I fix "issue.customfield_id Unrecognized property of `issue` " error ?

Zeynep Ceylan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2023

Hello,

I am writing a scriptrunner validator for Done status. I added new custom fields and their IDs are 101112 and 101113 but when I am testing my code I am getting an error which means my IDs are not unrecognizable.

Here is my script : JSON.stringify(issue.customfield_101113).includes('Evet') && issue.customfield_101112 != null

jiraaa.PNG

I added to error as a screenshot.

My thoughts are I added these fields just new so maybe they didn't configure this field yet.

I added the fields to the necessary screens.

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
September 21, 2023

Hi @Zeynep Ceylan 

Just a hunch here: have you confirmed those custom field id values are correct?

They seem to have one more digit than all of your other custom fields.

Kind regards,
Bill

Zeynep Ceylan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2023

Yes, You were right.

Thank you I checked the ID many many times but after a time I think it got fuzzy for me. 

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events