As part of my webhook event whenever a ticket is created/updated, I'm trying to send a JSON response that mirrors what I would receive when I do a GET request to the `api/v2/tickets/` endpoint.
Is it possible to do something like this:
{ "ticket": {{ticket}} }
Or if I had to recreate the whole response, it'd be nice if the following:
{ "ticket": {
"comments": "{{ticket.comments}}"
}
}
would give me a proper list of ticket comments as opposed to a string List. It's making processing on my end extremely difficult and I'm wondering if there's any way to fix this