JSM DataCenter -> JSON Asset import and pagination

Patrice Champet
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 8, 2024

Hello,

We have some assets that we need to retrieve using JSON.
The endpoint is using pagination.

For instance, get all the spaces from a Confluence Cloud site where you have more than the current limit (250spaces).
And it comes with 

"_links": {"next": ....


I am looking for the way to implement pagination on a JSON import in Assets.
Something where you could give the parameter "next" so that the importer is able to continue the import until all data are imported...

I don't find any way to this on the importer.

Does that mean that we have to create a external script to get the data, and then re-import in Asset from a file that we stored somewhere ?  

 

Thanks for your advice !

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events