---
title: "PCJ-Error about orphaned custom field values"
canonical: "https://support.appfire.com/space/SUPPORT/80885139/PCJ-Error%20about%20orphaned%20custom%20field%20values"
format: markdown
---
## <span style="color: #000000">Problem</span>

<span style="color: #000000">When importing a configuration, it halts with this error message:</span>

```
There are issues whose values in custom field XXXX will be orphaned if custom field config scheme YYYY is deleted. Abort load.
```

<span style="color: #000000">This message  means that:</span>

- <span style="color: #000000">In the new configuration custom field XXXX does not have a config scheme (also known as </span>*<span style="color: #000000">custom field context</span>*<span style="color: #000000">) called YYYY, so this config scheme would have to be deleted in order to apply the new configuration to the target instance.</span>
- <span style="color: #000000">The app has detected that config scheme YYYY contains options that are actually used as values for custom field XXXX in some issues.</span>
- <span style="color: #000000">So, if the config scheme YYYY were deleted those issues would lose their values for custom field XXXX. In order to avoid this loss of data, the app aborts the load and shows that message.</span>

## <span style="color: #000000">Solutions</span>

<span style="color: #000000">The fix to this problem depends really on what you want to do with the new configuration.</span>

<span style="color: #000000">The straightforward fix would be to add config scheme YYYY to custom field XXXX in the origin so that the new configuration can be imported without needing to remove that config scheme. Then, export the configuration and try the load again.</span> [Configuring a custom field](https://confluence.atlassian.com/display/JIRA/Configuring+a+Custom+Field#ConfiguringaCustomField-configureConfiguringacustomfield) <span style="color: #000000">from Jira docs explains how to add a new config scheme (or </span>*<span style="color: #000000">custom field context</span>*<span style="color: #000000">) to a custom field. You need not worry about the options contained by this new config scheme. If the options used in the target instance do not exist in the new config scheme, the app </span>*<span style="color: #000000">disables</span>*<span style="color: #000000"> them but does not remove them, so that existing data is preserved.</span>

<span style="color: #000000">Other options that would minimize the occurrence of this problem:</span>

- <span style="color: #000000">When exporting, select the option to</span> [filter custom fields that are not being used by the project](https://appfire.atlassian.net/wiki/spaces/PC/pages/197821561).
- <span style="color: #000000">When importing, enable the</span> [Smart Custom Field Contexts](https://appfire.atlassian.net/wiki/spaces/PC/pages/198017919) <span style="color: #000000">option</span>.


> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |