Unexpected error occured. The customfield '10031' was assigned to 'value=Outsourced class=java.lang.String'

Originally asked by Howard Nedd on 31 March 2022 (original question)


I am configuring Exalate scripting sync between two Jira Cloud instances. When I try to sync 2 custom fields which have different values I get this error:

Unexpected error occured. The customfield ‘10031’ was assigned to ‘value=Outsourced class=java.lang.String’

but it should have been set to a custom field object.

Any idea what I am doing wrong here?

Regards

Howard