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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Marketplace Apps & Integrations

How to log work and track time in Jira when a person is part of multiple teams

  The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...

102 views 2 1
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