web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP action + Using cu...
Power Automate
Unanswered

HTTP action + Using cursor query for pagination

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I am trying to use Power Automate to call this https://api.atlassian.com/admin/v1/orgs/<resource-name>.  Which is supposed to return all the users from our org, but unfortunately I only get 50 users and i do not understand how or where to enter the cursor query parameter as shown below from their api page.

Pagination

The organizations REST API uses pagination to conserve server resources and limit response size. If there are more results available after the current page, a link to the next page of results is included in the JSON. You can use the cursor parameter to set a specific starting point for the results.

 

My rest api call looks like this

skarthanal_0-1659630481744.png

 

I did enable the pagination in the settings of the action but that doesnt seem to work

skarthanal_1-1659630556621.png

 

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @Anonymous ,

    you should be able to add the parameter in the URI, like "&maxResults=500".

     

    BR,

    Marco

  • Community Power Platform Member Profile Picture
    on at

    @MarconettiMarco thank you for the suggestion but that didnt work.  Below is my response but i am not sure where or how to use the next for the cursor?

     

    "links": {
    "self": "https://api.atlassian.com/admin/v1/orgs/129293-3845739dkfd=jnsd894/users?cursor=",
    "next": "https://api.atlassian.com/admin/v1/orgs/129293-3845739dkfd=jnsd894/users?cursor=WyI1NTcwNTg6MGY3NGNhZDEtMzhmZi00MmNhLWExNzEtYjUzNzU0M2IwYjIyIl0="

  • FelixK Profile Picture
    36 on at

    so here is a video that seems to cover a custom pagination flow.. 
    https://youtu.be/5NtzcfmSGes?t=458

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard