Webhook - Copy a field on the same ticket

1 Comments

  • Dane
    Zendesk Engineering

    Hi James Byrne,

    You can use the endpoint below to create a webhook.

    https://YOURSUBDOMAIN.zendesk.com/api/v2/tickets/{{ticket.id}}.json

    Make sure to select PUT as your Request Method.

    Once done, you'll need to create a trigger that utilizes custom field placeholders as your payload.

    {
      "ticket": {
        "custom_fields": [
                {
                    "id": <Field B ID>,
                    "value": "{{ticket.ticket_field_<Field A ID>}}
                }
                ]
        }
    }

    Here is an example of a simple trigger.

     

    0

Please sign in to leave a comment.

Powered by Zendesk