How can I get all conversations and comments of a Zoho Desk ticket using ZOHODESK

How can I get all conversations and comments of a Zoho Desk ticket using ZOHODESK

Hi everyone,

Currently, I am developing a Zoho Desk extension, and I am following the guide available at https://www.zoho.com/desk/extensions/guide/#ticket-object.

While working with Zoho Desk, I have noticed that I can only retrieve the general information of a ticket using the following code:

  1. // @ts-ignore
  2. const ticket = (await ZOHODESK.get('ticket')).ticket;
  3. console.log('ticket', ticket);

However, my extension requires accessing the full conversations and comments associated with the ticket. I have carefully reviewed the documentation multiple times, but I couldn't find any information related to this requirement. I kindly request your assistance in addressing this issue. Any guidance or support would be greatly appreciated.

Thank you in advance.