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

0 votes
Nic Brough -Adaptavist-
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 Champions.
October 4, 2018

Is this in a Service Desk project, where you have constrained working hours?

Shuichi Suzuki
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!
October 4, 2018

We just started using JIRA yesterday, and We've  never configured working hours.

Nic Brough -Adaptavist-
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 Champions.
October 5, 2018

You'll need to talk to the administrators of the system then, as they've configured something to put this restriction in place.

Suggest an answer

Log in or Sign up to answer