---
title: "Unable to copy a custom field value during issue transition"
canonical: "https://support.appfire.com/space/SUPPORT/89134441/Unable%20to%20copy%20a%20custom%20field%20value%20during%20issue%20transition"
format: markdown
---
## 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

```xml
ERROR: Custom field: 'XXXX' not found. Field was ignored.
```

## Environment

| **Application** | Jira |
| --- | --- |

## Cause

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

## Solution

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

1. Navigate to Jira application's > Macro (inline-media-image)

*** > 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 > Macro (inline-media-image)

*** > Edit***.
4. In the Field Name, verify if there are any leading or trailing spaces in the name. If so, remove the spaces and update the custom field.

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

![image](media://b34820ab-cf8c-410e-a773-a1d836370074)