Forum Discussion

terrible_towel's avatar
terrible_towel
New Contributor II
2 years ago
Solved

How do I loop through pages with JIRA API, using the HTTP Client snap?

Hi, I've been trying to configure the snap with no success. My goal is to do a get request, and loop through the pages, since Jira API only returns the first page. So it would look something...
  • koryknick's avatar
    2 years ago

    terrible_towel - If you have specified any of the query parameters in your original URI, I suggest you move them to the Query Parameters settings.  This will make the pagination configuration simpler.

    Has Next: $entity.issues.length == $entity.maxResults

    In the Pagination section, set as below:

    Hope this helps!