Hi everyone,
I am trying to check whether the Request Type field is empty or not within my Jira ScriptRunner code. The field is populated on the ticket, but when I extract it using issue.fields[RequestTypeID].toString(), it is always returning null. I exported the Jira issue as an XML file and searched the customfieldID corresponding to the Request Type field within the file and no value shows up underneath the field (please see image below).
Has anyone encountered an issue similar to this in the past? Checking whether the field is null or not is essential for the functionality I am trying to implement within ScriptRunner so any help would be greatly appreciated.
