cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
slong
Frequent Visitor

Making multiple calls to a REST api and storing all results

I'm making a call to a REST API (Jira in my case). It has a restriction where it will only return 50 records at a time.

 

When my PowerApps starts up my call looks something like this

 

ClearCollect(myJiraData, JiraCloudConnector.GetIssues("[JQL Query]"));

 

This returns me back the first 50 records and the totalAmount that are there (in my most recent case 496).

 

I want to be able to get the first 50, then the next 50 and so on and store them all in my collection myJiraData.

What's the best way to do this in PowerApps ?

 

I can add a separate parameter to my REST call to tell it which record to start reading at, so that's not a problem.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @slong ,

 

I'm sorry to bother you.

If anyone else has the same problem, you could try to find a solution here .

 

Best Regards,
Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @slong ,

 

I'm sorry to bother you.

If anyone else has the same problem, you could try to find a solution here .

 

Best Regards,
Wearsky

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,187)