Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
3
-
Description
Problem Definition
The method updateCustomField(Long id, String name, String description, CustomFieldSearcher searcher)() mentioned in this documentation allows NULL values for the name parameter.
If this method is called by a script that passes a NULL value for the name parameter, a 500 error will be returned when accessing any page in JIRA except the admin section, as shown in the screenshot below:
For this reason, the method updateCustomField() should not allow null values.
Why this is important
Workaround
For now, the only workaround is to make sure that any script making a call to this function does not pass a NULL name.