You get the following error while attempting to use the API to import a custom field to an issue:
“The remote server returned an error: (400) Bad Request”
This error occurs when you try to import, via the API, a custom field from a project that does not have a custom form associated with a Queue Topic.
Add the correct custom form to the Queue Topic.
To learn more about Queue Topics, see "Creating Queue Topics."