JIRA SERVER JIRA CLOUD
This article shows how to synchronize the issue resolution field in Jira.
Whenever you need to sync the resolution, you have to ensure that the resolution from the remote side is mapped to the local resolution objects.
Add the code below to the Outgoing sync to send a resolution to the other side.
Add the code below to the Incoming sync to set the resolution for the synced issue, based on the source side data.
You can also just hardcode a resolution by name: