Recently we tried to log the ticket details using the data methods and found that it returns the wrong data.
We even deployed the app and tested it but still the same.
The ticket ID is #INC-2091 and this is the payload returned by the data method.
Id and display_id are swapped.
The documentation says that the ID property holds the id of the ticket.
Now, may I know what’s going wrong here? or am I missing anything?
Thanks in advance!
Hope you are doing good!
As mentioned in the document,
id - contains unique Id of the ticket
display_id - contains display Id of the ticket
Hope it helps
We checked the developer docs and found no details for the display_id object and also the doc says that the Id object holds the ID of the ticket.
But the data method returns invalid data.
NOTE: we are using the data methods to retrieve the ticket data.
Thank you for clarifying the same,
I will check with the product team and get back to you at the earliest
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.