This article shows how to synchronize an assignee to a text custom field.
An assignee is an object with some properties. Each property is of type text. You can sync the following properties: key, email, displayName, username.
Add the code below to the Incoming sync to sync Assignee email address
You can replace the .email property with any other assignee object property.
Check User for all available properties.
For example, to sync the assignee displayName use this code