When I reindex my JIRA 6.0.8 instance, I get a lot of ERRORS like:
getCustomFieldValue called from script: No field with ID or name Date of Detection
I've used the "getCustomFieldValue" functions, but it looks it is actually throwing an exception during the reindex...
Here is an example:
return getCustomFieldValue("Date of Detection")?.format("yyyy-MM");
What is wrong with this code? I've have other more elaborated examples which fail the same.