Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Json importer - paginated REST endpoint

Hi,

 

I'm trying to do an import in Insight via calling a REST endpoint with the json importer. This works fine, but unfortunately, the response is paginated (50 items per page), where the total is over 3000 items. The total number of items is available in the response, and with a "start"-parameter added to the url we can get the next page.

Is there a way to let Insight loop over the multiple pages, or do I have to configure a separate import for each page?

2 answers

1 accepted

0 votes
Answer accepted

Hi Joachim

Unfortunately there is no way to loop over multiple pages. Question, is it possible to make sure there is an "unlimited" parameter on the Endpoint, or to create another Import type for the same Data?
Maybe create a small application to extract all the JSON info and consolidate it into a File which can be imported? Or even a DB Import?

Hi Zihni,

I've found an alternative endpoint to get the full data for this request, but unfortunately this is not always possible. 

Creating a small application to concatenate this data is a possibility, but I was hoping that Insight could do it without this app...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

479 views 5 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you