Data methods return invalid data

Hi,

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.

image

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!

@Bene_Immanuel,
Good day!
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 :slight_smile:

Thanks

Hi @Santhosh,

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.
image

But the data method returns invalid data.

NOTE: we are using the data methods to retrieve the ticket data.

Thanks,
Benny Immanuel.

@Bene_Immanuel
Thank you for clarifying the same,
I will check with the product team and get back to you at the earliest

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.