Problem Statement
If your custom fields are not getting created/copied in Create on Transition or Update on Transition by getting the below error message:
Make sure your custom field name does not have any leading/trailing spaces.
Error Message
ERROR: Custom field: 'XXXX' not found. Field was ignored.
Environment
Application | Jira |
---|
Cause
Custom field name consists of leading/trailing spaces.
Such custom fields are ignored during the transition and will get the above-mentioned error.
Solution
Remove the leading/trailing spaces from the custom field name by following the below steps:
- Go to Jira application's Cogwheel → Issues
- In the left hand sidebar Click on Custom fields under the Fields section.
- In the list of custom fields, go to the desired custom field and click again on → Edit.
- In the Field Name, verify if there are any leading/trailing spaces in the name.
- If so, remove the spaces and Update the custom field.
See the below image for a custom field name which has trailing spaces.