Problem Statement
While using custom fields in apps like.. Create on Transition (or) Update on Transition, if you encounter that a custom field is not getting created/copied into a new issue.
Also if you see the below error message in the logs then please make sure that your custom field name is given properly. If there are any leading/trailing spaces in the custom field name then it will be ignored during the transition.
Error Message
ERROR: Custom field: 'XXXX' not found. Field was ignored.
Environment
Version | Server 8.0.2 |
---|---|
Application | Jira |
Cause
Custom field name consists of leading/trailing spaces inside it.
Solution
Please follow the below steps to fix the issue.
- Goto Cogwheel → Fields→ Custom fields→ 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.