How to add after parameter from response into REST API call for next page

Hi all
I successfully imported data from an external API and mapped it to fields.

But the API paginates the results and includes a next cursor (string) in the API response.
This value needs to passed to the next API call as after:"_sn_WzAuMCwiYXJpOmNs... to get the next results.

I can’t see that this is possible or do I miss something?

Hi @r.gamma,

We recently added an option to perform cursor-based pagination. It’s currently available in eazyBI for Jira Cloud or other Cloud versions and will be included in the next eazyBI version for Jira DC.
Under the “Next page URL” pagination option, there is a new field - “Next page parameter” where you can provide a path where to find the value of the parameter, for example, after or meta.issues.jql.nextPageToken. In the request body, add a parameter with {{next_page}} placeholder value, for example, "after": {{next_page}}.

If you have more questions, feel free to comment here or send to our support email - support@eazybi.com.

Best regards,
Janis Baiza

Thanks a lot for this, tried an seems to be working.
Was not aware that this is possible with.

1 Like