By default, Exalate for Zendesk adds a comment showing the proxy user as the attachment author. The following is an example of such a comment:
Exalate admin has added an attachment
With scripts, you can set up a different attachment author.
Zendesk
Outgoing sync
In the outgoing sync you can add these lines to your sync script:
1 replica.addedAttachments.each { it.executor = nodeHelper.getUser("1234567890") } // replace "1234567890" with the Zendesk user id 2 issue.attachments += replica.addedAttachments
Script parameters
Parameter | Description |
---|---|
| Sets a specific Zendesk user as an attachment author. Enter a specific user ID instead of |
To get a Zendesk user ID:
- Navigate to
Admin -> People.
- Select the Exalate proxy user.
- Copy the user ID from the address bar of your browser. The User ID will be located next to the
/users/
parameter. For example, for this line, the user ID will be372123233699
:For more information please check out this Zendesk article:https://example.zendesk.com/agent/users/372123233699/assigned_tickets
https://support.zendesk.com/hc/en-us/articles/360044278093-How-can-I-locate-an-agent-ID-in-Support-
Have more questions? Ask the community