Freshworks named the only Challenger in 2021 Gartner® Magic Quadrant™ for ITSM tools. Access Report

Start a new topic

Webhook - Update subject line when ticket logged

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:{id}

Attached are screenshots of how it is setup.

Many thanks in advance!

(45.7 KB)
(35.3 KB)

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){{ticket.original_id}}

Please try the below payload for updating the subject line

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

1 person likes this

Hi Thushan,

That worked perfectly, thanks for help!



Login or Signup to post a comment