Created
May 10, 2016 08:54
-
-
Save Sarapulov/7b28bf1c814cf22854a461bf538a2786 to your computer and use it in GitHub Desktop.
Update Date Field using HTTP target
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // TARGET SETTINGS | |
| https://DOMAIN.zendesk.com/api/v2/tickets/update_many.json | |
| PUT | |
| JSON | |
| Basic Authentication - Enabled (email/token + API token) | |
| // PAYLOAD (IN TRIGGER) | |
| { | |
| "tickets": [ | |
| { "id": {{ticket.id}}, | |
| "custom_fields": [ | |
| {"id": 22801726, "value": "{{ticket.updated_at|date:'%Y-%m-%d'}}"} | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment