discourse-zendesk-plugin icon indicating copy to clipboard operation
discourse-zendesk-plugin copied to clipboard

Use comment_id as when specified in the webhook payload

Open stujo opened this issue 4 years ago • 0 comments

We had a bug which I think is caused by the use of the lastest_comment in the webhook. This change is intended to allow the webhook to specify a comment_id and to use that

The idea is that this is the trigger payload:

{   
  "ticket_id" : "{{ticket.id}}", 
  "topic_id": "{{ticket.external_id}}",
  "comment_id": "{{ticket.latest_comment.id}}",
  "email": "{{ticket.latest_comment.author.email}}",
 }

stujo avatar May 20 '21 21:05 stujo