#1927: Can you pass a custom field value in a webhook?

Отредактирована: 45 дней назад

Symptoms

How to pass values of a custom field through a webhook?

Solution

Example for a ticket custom field:

  "department": "{{ event.ticket.custom_fields.get_value('8Sif6t8Khx3le6Z3') }}",

where 8Sif6t8Khx3le6Z3 is the UID of the custom field.

Example for a user custom field:

"USER": "{{ event.ticket_comment.author.custom_fields.get_value('s1V0f1NwOpb56dRu') }}", 

where s1V0f1NwOpb56dRu is the UID of the custom field.