I want to get tickets data with comments. | Community
Skip to main content

I want to get tickets data with comments.

  • April 21, 2017
  • 2 replies
  • 0 views

I want to get tickets data with comments with API.

But I can only get the data without comments except for description with "Search API".

Are there the way by which I can get it with API ?

( I know I can download it as XML once a day.

 But I want to get it with API as JSON whenever I want)

This topic has been closed for replies.

2 replies

  • April 21, 2017

You can't do it in one call, first you need to get the ticket data: 

/api/v2/tickets/12065.json

Then you need need to make a call to get the comments

/api/v2/tickets/12065/comments.json


  • Author
  • April 22, 2017

Thank you for your comment, Mr. Moore.

I will consider the way you advanced.