FlowmageDocs

Update ticket

BetaChanges data

Changes status, assignee, tags or fields on a Zendesk ticket.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
Ticket idRequiredtext
StatusA closed ticket can never be changed again — Zendesk closes it for good.
Priority"" or "urgent" or "high" or "normal" or "low"
Type"" or "problem" or "incident" or "question" or "task"
Assignee idtext
Group idtext
Organization idtext
Subjecttext
TagsComma-separated.
What to do with the tagsReplace wipes the tags the ticket already carries.
Custom fieldsKeyed by the field's numeric id, never by its title — the List ticket fields node gives you the ids.
External idtext
Due attext
Refuse if the ticket changedZendesk refuses the update when the ticket moved since the moment below — use it when a colleague may be working on the same ticket.
The ticket's updated_at when you read ittext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
ticketIdtext
status"" or "new" or "open" or "pending" or "hold" or "solved" or "closed"
priority"" or "urgent" or "high" or "normal" or "low"
type"" or "problem" or "incident" or "question" or "task"
assigneeIdtext
groupIdtext
organizationIdtext
subjecttext
tagstext
tagMode"replace" or "add" or "remove", by default "replace"
customFieldsobject of text, by default {}
externalIdtext
dueAttext
safeUpdatetrue/false, by default false
updatedStamptextused when `safeUpdate` is true

Output

FieldType
ticketIdstring
ticketobject
auditWhat this change recordedobject
Sample output, and the expression for each field
  • audit
    • id8
  • ticket
    • id42
    • status"solved"
  • ticketId"42"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "assigneeId": "",
    "connection": "<connection id>",
    "customFields": {},
    "dueAt": "",
    "externalId": "",
    "groupId": "",
    "organizationId": "",
    "priority": "",
    "safeUpdate": false,
    "status": "",
    "subject": "",
    "tagMode": "replace",
    "tags": "",
    "ticketId": "<ticket id>",
    "type": "",
    "updatedStamp": ""
  },
  "label": "Update ticket",
  "type": "zendesk.updateTicket",
  "version": 1
}