Notify webhook for new ticket comments

답변함


2021년 10월 01일에 게시됨

I'm trying to setup a webhook to get notified on all new comments for a Ticket. I'd like to have the id, comment, and comment author to be sent via JSON to my webhook. Right now I have it somewhat working with the following body:

{
"id": "{{ticket.id}}",
"comment": "{{ticket.comments[0]}}",
}


But unfortunately something like this doesn't work:

{
"id": "{{ticket.id}}",
"comment": "{{ticket.comments[0].body}}",
"author": "{{ticket.comments[0].author_id}}",
}


1

7

댓글 0개

로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물