How can i get data of a recently created notes in a ticket?

  • 15 February 2018
  • 3 replies
  • 46 views


I am trying to read the data whenever a new notes is added to a ticket.




I have tried ticket.notesClick and ticket.addNote both the events doesn't give any details about the notes that have been created.



This topic has been closed for comments

3 replies

Hello Anish,


We don't have interface APIs to get data of a recently created notes.


However, you can use product API to fetch all the conversations of the ticket.


Please refer this doc.


This is the API - /api/v2/tickets/[id]/conversations


Source attribute will be returned in the response body. The last one in the list with source '2' is the recently added note.



Thanks,

Mohana




Is that the feasible solution for this?


An application which requires internal data, should make an HTTP request to access it?


Yes It is possible with our Request API.


Refer this doc - Request API.