Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Statement

Info

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.

...

Problem statement

This article explains how to handle the error message (mentioned in the succeeding section) when the custom fields are not created or copied while using Create on Transition or Update on Transition respectively. The solution suggests ensuring the custom field name not having any leading or trailing spaces.

Error message

Code Block
languagexml
themeEclipse
ERROR: Custom field: 'XXXX' not found. Field was ignored.

Environment

Database Type
VersionServer 8.0.2
ApplicationJiraApp Version

Cause

...

Custom field name

...

(s) with leading or trailing spaces is ignored during the transition leading to the mentioned error.

Solution

Please follow the below steps to fix the issue.

...

Remove the leading or trailing spaces from the custom field name by performing the following:

  1. Navigate to Jira application's Image Added > Issues.
  2. In the left sidebar, click Custom fields under the Fields section.
  3. In the list of custom fields, navigate to the required custom field and click Image Added > Edit.
  4. In the Field Name, verify if there are any leading /or trailing spaces in the name. If so, remove the spaces and save update the custom field.

See the following image for a custom field name that has trailing spaces:

Image Added