...
Remove the leading/trailing spaces from the custom field name by following the below steps:
- Goto Jira application's Cogwheel → Fields → Custom fields → the The custom field name → Edit.
- Check if there are any leading/trailing spaces in the name.
- If so, remove the spaces and save the custom field.
See the below image file for a custom field name with which has trailing spaces.