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

View solution in original post

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,365)