Hi,
We have a variety of jsm integrations with our product and for the last week we have been receiving errors relevant to a missing property/attribute from the json response of the following endpoint /jsm/assets/workspace/{workspaceId}/v1/object/aql
Based on the below documentation attribute total is part of the response payload but seesm that somethings has changed recently.
https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-aql-post
We have observed that the "total" property is missing and another attribute named as "last" is part of the response payload but it is not documented in the link listed above.
See the screenshot below.
Can you please let us know if this is a bug or a recent code change from your side ?
Welcome to Atlassian Community!
You may want to post your question in the developer community or contact Atlassian support. Atlassian has done some maintenance to Assets that cause some issues in Automations, this could be a similar case.
Regarding last, that has to do with pagination, but I know in the past that there was an issue with it not being set.
Hi @Mikael Sandberg ,
Thanks for your response, i will post it to the developer community.
Relevant to attribte last you shall see in the picture attahced that there is another property named as isLast which i guess is the same prop with different name. If you check the documentation you will notice that isLast is part of the attributes that we should expect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.