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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,198)