Webhook - Update subject line when ticket logged

  • 9 December 2018
  • 2 replies

Hi all,

Hoping someone could help with changing the ticket subject when a ticket is logged.

I have a form field that specifies a list with 3 levels, and I want the subject to change to whatever was selected in the list.

Here is the code that I have specified in the webhook:

{“subject”: "{{ticket.untitled}} - {{ticket.cf_111}} {{ticket.cf_222}}"}

Along with the callback URL that I used:


Attached are screenshots of how it is setup.

Many thanks in advance!


This topic has been closed for comments

2 replies

Userlevel 1

Hi James,

You can use the below callback URL where the {{ticket.original_id}} placeholder refers to the Ticket ID(1 if the ticket ID is #INC-1)


Please try the below payload for updating the subject line

{"subject": "{{ticket.cf_111}} {{ticket.cf_222}}" }

Hi Thushan,

That worked perfectly, thanks for help!