Ticket feed API

Is it possible to read ticket feed information through the API? And are there any resources on the field names?

We have a department who despite our best efforts to encourage the use of the native reporting of TeamDynamix insist they want a weekly report containing all of the ticket feed information for each ticket printed out....(Poor trees!)

Tags API
Asked by Kevin Beattie on Tue 2/11/20 6:21 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Wed 2/12/20 10:20 AM

Hello Kevin,

There are endpoints (documented here https://api.teamdynamix.com/TDWebApi/Home/section/Tickets#GETapi/{appId}/tickets/{id}/feed and here https://api.teamdynamix.com/TDWebApi/Home/section/TicketTasks#GETapi/{appId}/tickets/{ticketId}/tasks/{id}/feed ) for Tickets and Ticket Tasks to facilitate grabbing their Feed contents.

The drawback is, it's one ticket's/task's feed per call because the endpoint expects you to point at a single ticket or ticket/task combo per call. So, you'd have to know all of the Ticket IDs and/or Task IDs that you'd be wanting to grab from so you could load them up and sequentially replace them in a script to grab feeds for every ticket in your list of IDs.

No, there is not a mass ticket feed endpoint that just pulls all feeds from a list of IDs (sadly), so you'll be restricted by the rate-limit documented on that endpoint as to how fast they can be pulled. Also, that endpoint does not return any of the attributes/values related to the ticket specifically. As you can see if you check out the returned properties for the endpoint, it only returns info that would be specific to each feed post.

Let me know if you have any other questions.

Sincerely,
Mark Sayers
TD Support

1 of 1 users found this helpful.