Notify HTTP target - Tags are being posted instead of values in the target | Community
Skip to main content

Notify HTTP target - Tags are being posted instead of values in the target

  • March 11, 2021
  • 2 replies
  • 0 views

Hi,

While I setup "Notify Target" trigger for an HTTP target and add the message in JSON format regarding which ticket fields data to be sent, Zendesk sends tags instead of values. Can you help me sending the field values rather than tags? Below code for your quick reference:

{
"username": "xxxxxxxxxxxxxxx",
"password": "xxxxxxxxxxxxxxx",
"CallData": {
"Calls":
{
"ShortDescription": "{{ticket.title}}",
"Description": "{{ticket.description}}",
"SysSpecField2": "{{ticket.id}}",
"Caller":
{
"Description": "string"
},
"CCP":
{
"Description": "{{ticket.ticket_field_1500001829881}}"
},
"MainComp":
{
"SerNr": "{{ticket.ticket_field_1500001843462}}",
"OpSys": "INCIDENT"
}
},

"ExtTableValues": {
"Field103": "{{ticket.requester.email}}",
"Field89": "{{ticket.ticket_field_360056903194}}",
"Field88": "{{ticket.ticket_field_360056903174}}",

}
}
}

2 replies

  • March 26, 2021

Hello!

Thanks for reaching out. Looks like you would need to use ticket.ticket_field_option_title_1500001829881 instead of ticket.ticket_field_1500001829881You can get more info in this article: Using Placeholders 

 


  • Author
  • March 27, 2021

Thanks Kharlo. Yeah, I did try the same and it worked. However, where I am stuck now is updating the ticket using PUT command. While passing the values for the drop down fields, it supports only tags, but not values. Do you have any suggestion on this?

Thanks,

Murali