# \#pagination

**URL:** https://community.developer.atlassian.com/tag/pagination/1071.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Issue with pagination for comments and replies using Confluence REST API](https://community.developer.atlassian.com/t/issue-with-pagination-for-comments-and-replies-using-confluence-rest-api/99675)

<div class="topic-metadata">

**Author:** [@cccadmin](https://community.developer.atlassian.com/u/cccadmin)\
**Replies:** 0\
**Last updated:** [March 17, 2026, 7:13pm UTC](https://community.developer.atlassian.com/t/issue-with-pagination-for-comments-and-replies-using-confluence-rest-api/99675 "2026-03-17T19:13:16Z")

</div>

Using the following API, we are able to fetch comments and replies for a content item: GET https://api.atlassian.com/ex/confluence/{cloudId}/wiki/rest/api/content/search ?cql=type={content-type} AND id={content-id} &exp…

---

## [How to set the maxResults attribute in JIRA REST API?](https://community.developer.atlassian.com/t/how-to-set-the-maxresults-attribute-in-jira-rest-api/14205)

<div class="topic-metadata">

**Author:** [@prathyusha.gali](https://community.developer.atlassian.com/u/prathyusha.gali)\
**Replies:** 12\
**Last updated:** [August 6, 2024, 9:30am UTC](https://community.developer.atlassian.com/t/how-to-set-the-maxresults-attribute-in-jira-rest-api/14205 "2024-08-06T09:30:23Z")

</div>

In my Atlassian connect spring boot application, I am trying to retrieve data of issue types but it is giving only 50 results. After some research, I understand that this is because of the maxResults attribute. How to se…

---

## [Pagination broken of include-versions in 'Get Page By ID'](https://community.developer.atlassian.com/t/pagination-broken-of-include-versions-in-get-page-by-id/79648)

<div class="topic-metadata">

**Author:** [@PhilippSeeger](https://community.developer.atlassian.com/u/PhilippSeeger)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 8:35pm UTC](https://community.developer.atlassian.com/t/pagination-broken-of-include-versions-in-get-page-by-id/79648 "2024-05-02T20:35:20Z")

</div>

The behavior of the V2 api in regards to the pagination of includes is so strange that it might as well be a bug in my opinion. Let’s look at Get page by id https://developer.atlassian.com/cloud/confluence/rest/v2/api-g…

---

## [\[Bitbucket Cloud\] broken pagination in "next" link in json response](https://community.developer.atlassian.com/t/bitbucket-cloud-broken-pagination-in-next-link-in-json-response/78725)

<div class="topic-metadata">

**Author:** [@CassidyMarble](https://community.developer.atlassian.com/u/CassidyMarble)\
**Replies:** 3\
**Last updated:** [April 17, 2024, 11:37am UTC](https://community.developer.atlassian.com/t/bitbucket-cloud-broken-pagination-in-next-link-in-json-response/78725 "2024-04-17T11:37:07Z")

</div>

Setup: A node web application that queries the bitbucket api. For testing I am using an app password tied to my personal user account. I have turned the requests into standard curl commands to demonstrate the issue. The…

---

## [Failed to get more than the maxResults limit for worklogs for an issue through REST API](https://community.developer.atlassian.com/t/failed-to-get-more-than-the-maxresults-limit-for-worklogs-for-an-issue-through-rest-api/78720)

<div class="topic-metadata">

**Author:** [@DanielVelkov](https://community.developer.atlassian.com/u/DanielVelkov)\
**Replies:** 3\
**Last updated:** [April 9, 2024, 10:44am UTC](https://community.developer.atlassian.com/t/failed-to-get-more-than-the-maxresults-limit-for-worklogs-for-an-issue-through-rest-api/78720 "2024-04-09T10:44:46Z")

</div>

Hello, I have a simple app that retrieves worklogs for issues in JIRA. I recently discovered through a client that there are missing worklogs if they are more than 20 for issue. When I tried through postman I found th…

---

## [How do I limit the number of results coming back from an API Query](https://community.developer.atlassian.com/t/how-do-i-limit-the-number-of-results-coming-back-from-an-api-query/77287)

<div class="topic-metadata">

**Author:** [@edmoore](https://community.developer.atlassian.com/u/edmoore)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 1:56pm UTC](https://community.developer.atlassian.com/t/how-do-i-limit-the-number-of-results-coming-back-from-an-api-query/77287 "2024-02-14T13:56:54Z")

</div>

I am trying to return the total number of issues for a given query in excel VBA. I am on cloud and I cannot use --any-- plugin of any kind. Everything has to be done using API V3 https://someco.atlassian.net/rest/api/3/…

---

## [Confluence Cloud REST API Get Groups - is totalSize supported?](https://community.developer.atlassian.com/t/confluence-cloud-rest-api-get-groups-is-totalsize-supported/77220)

<div class="topic-metadata">

**Author:** [@BryanGuffey2](https://community.developer.atlassian.com/u/BryanGuffey2)\
**Replies:** 5\
**Last updated:** [February 13, 2024, 5:43am UTC](https://community.developer.atlassian.com/t/confluence-cloud-rest-api-get-groups-is-totalsize-supported/77220 "2024-02-13T05:43:02Z")

</div>

According to the response parameters at Get Groups API Response- Confluence Cloud, the shouldReturnTotalSize boolean should be supported, and when set to True, it should return totalSize. However, import requests from …

---

## [Issue search post call returns only maximum of 100 results](https://community.developer.atlassian.com/t/issue-search-post-call-returns-only-maximum-of-100-results/59668)

<div class="topic-metadata">

**Author:** [@DhineshDhanapal](https://community.developer.atlassian.com/u/DhineshDhanapal)\
**Replies:** 8\
**Last updated:** [July 13, 2022, 8:17pm UTC](https://community.developer.atlassian.com/t/issue-search-post-call-returns-only-maximum-of-100-results/59668 "2022-07-13T20:17:22Z")

</div>

issue search post call returns only maximum of 100 results. how to go beyond that.? when I gave 250 as max results, it returned only 100 of them. is there any way without pagination? to fetch all results of jql?

---

## [Any plan on cursor based pagination in Jira APIs?](https://community.developer.atlassian.com/t/any-plan-on-cursor-based-pagination-in-jira-apis/67808)

<div class="topic-metadata">

**Author:** [@ShanW](https://community.developer.atlassian.com/u/ShanW)\
**Replies:** 0\
**Last updated:** [March 24, 2023, 6:34am UTC](https://community.developer.atlassian.com/t/any-plan-on-cursor-based-pagination-in-jira-apis/67808 "2023-03-24T06:34:42Z")

</div>

Hi, I saw that Confluence APIs has been updated to use cursor based pagination, which is a very good change. I wonder if there is any plan on switching to cursor based pagination on Jira APIs??

---

## [Where is the documentation on what the Confluence REST API returns?](https://community.developer.atlassian.com/t/where-is-the-documentation-on-what-the-confluence-rest-api-returns/66874)

<div class="topic-metadata">

**Author:** [@anon18754556](https://community.developer.atlassian.com/u/anon18754556)\
**Replies:** 11\
**Last updated:** [March 3, 2023, 12:29pm UTC](https://community.developer.atlassian.com/t/where-is-the-documentation-on-what-the-confluence-rest-api-returns/66874 "2023-03-03T12:29:45Z")

</div>

I was able to get a user’s property, but I don’t understand how to decipher the JSON results. Please point me to the documentation that explains the values. I read https://developer.atlassian.com/cloud/confluence/rest/…

---

## [Jira Software REST API can not get all the sprints?](https://community.developer.atlassian.com/t/jira-software-rest-api-can-not-get-all-the-sprints/65067)

<div class="topic-metadata">

**Author:** [@LuisJordnMuoz](https://community.developer.atlassian.com/u/LuisJordnMuoz)\
**Replies:** 3\
**Last updated:** [January 13, 2023, 7:28am UTC](https://community.developer.atlassian.com/t/jira-software-rest-api-can-not-get-all-the-sprints/65067 "2023-01-13T07:28:08Z")

</div>

Hi, good morning from Spain. I have been in contacto with the support team of Atlassian, and It looks like the platform has a problem with /rest/agile/1.0/board/{boardId}/sprint. At this moment, the list is limited, an…

---

## [Total size parameter for search user groups and get group members APIs](https://community.developer.atlassian.com/t/total-size-parameter-for-search-user-groups-and-get-group-members-apis/55075)

<div class="topic-metadata">

**Author:** [@TapanParikh](https://community.developer.atlassian.com/u/TapanParikh)\
**Replies:** 7\
**Last updated:** [August 8, 2022, 6:12am UTC](https://community.developer.atlassian.com/t/total-size-parameter-for-search-user-groups-and-get-group-members-apis/55075 "2022-08-08T06:12:53Z")

</div>

What is changing? We have enhance APIs to include optional response parameter totalSize to search groups, get group members by group Id and get group members by group name APIs. It will return total counts of objects be…

---

## [Script to Get all assets, and assets on next page](https://community.developer.atlassian.com/t/script-to-get-all-assets-and-assets-on-next-page/59184)

<div class="topic-metadata">

**Author:** [@afelts](https://community.developer.atlassian.com/u/afelts)\
**Replies:** 4\
**Last updated:** [July 16, 2022, 6:00pm UTC](https://community.developer.atlassian.com/t/script-to-get-all-assets-and-assets-on-next-page/59184 "2022-07-16T18:00:44Z")

</div>

My script can pull assets from 1-100, but how to I retrieve 101-200, and so on and so forth. https://developer.atlassian.com/cloud/assetsapi/rest/api-group-assets/#api-asset-bulk-put

---

## [Paginated fields endpoint returns odd data](https://community.developer.atlassian.com/t/paginated-fields-endpoint-returns-odd-data/57357)

<div class="topic-metadata">

**Author:** [@JohnAthanasiou](https://community.developer.atlassian.com/u/JohnAthanasiou)\
**Replies:** 0\
**Last updated:** [April 7, 2022, 1:25pm UTC](https://community.developer.atlassian.com/t/paginated-fields-endpoint-returns-odd-data/57357 "2022-04-07T13:25:08Z")

</div>

I am in the process of migrating an operation in Forge app from the regular getFields endpoint to the paginated version. Even though the latter is tagged “Experimental” in the docs it seems to work (kind of). I am noti…

---

## [Missing and duplicate results when fetching /rest/api/content/{id}/descendant/page](https://community.developer.atlassian.com/t/missing-and-duplicate-results-when-fetching-rest-api-content-id-descendant-page/56969)

<div class="topic-metadata">

**Author:** [@PhilippSeeger](https://community.developer.atlassian.com/u/PhilippSeeger)\
**Replies:** 3\
**Last updated:** [March 31, 2022, 5:51am UTC](https://community.developer.atlassian.com/t/missing-and-duplicate-results-when-fetching-rest-api-content-id-descendant-page/56969 "2022-03-31T05:51:58Z")

</div>

\[edit 21-03-31\]: A fix has been deployed. There are pages missing and others appear multiple times when fetching descendants of a page through /rest/api/content/{pageId}/descendant/page. This is especially obvious when…

---

## [Space end-point, numOfPages stops at 200](https://community.developer.atlassian.com/t/space-end-point-numofpages-stops-at-200/56662)

<div class="topic-metadata">

**Author:** [@LorenzoPhillips](https://community.developer.atlassian.com/u/LorenzoPhillips)\
**Replies:** 2\
**Last updated:** [March 15, 2022, 2:05pm UTC](https://community.developer.atlassian.com/t/space-end-point-numofpages-stops-at-200/56662 "2022-03-15T14:05:13Z")

</div>

I just noticed that when I use the Get spaces endpoint, it returns numOf Pages in the JSON, but it caps at (200) pages, which is not accurate for spaces with more than (200) pages in them. Why doesn’t this property conta…

---

## [504 Gateway Timeout jira Rest API](https://community.developer.atlassian.com/t/504-gateway-timeout-jira-rest-api/55136)

<div class="topic-metadata">

**Author:** [@Martyn](https://community.developer.atlassian.com/u/Martyn)\
**Replies:** 4\
**Last updated:** [February 16, 2022, 6:21pm UTC](https://community.developer.atlassian.com/t/504-gateway-timeout-jira-rest-api/55136 "2022-02-16T18:21:24Z")

</div>

Hi All, Anyone had any issues with this 504 timeout ? Im trying to request objects from the new Jira insight app. Im using Python to get the data. Anytime i try to request anything over 200 records per page i get thi…

---

## [Get All Users - Max value for maxResults parameter?](https://community.developer.atlassian.com/t/get-all-users-max-value-for-maxresults-parameter/50349)

<div class="topic-metadata">

**Author:** [@Octopus](https://community.developer.atlassian.com/u/Octopus)\
**Replies:** 6\
**Last updated:** [December 7, 2021, 4:39pm UTC](https://community.developer.atlassian.com/t/get-all-users-max-value-for-maxresults-parameter/50349 "2021-12-07T16:39:39Z")

</div>

Hello all! I’m reading this document https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-users-get it says here that for the endpoint GET /rest/api/3/users we can send a query pa…

---

## [API Response & Issue Change timing](https://community.developer.atlassian.com/t/api-response-issue-change-timing/53640)

<div class="topic-metadata">

**Author:** [@VishReddy](https://community.developer.atlassian.com/u/VishReddy)\
**Replies:** 0\
**Last updated:** [November 15, 2021, 2:48am UTC](https://community.developer.atlassian.com/t/api-response-issue-change-timing/53640 "2021-11-15T02:48:58Z")

</div>

Hello, I am using the following endpoint to fetch issues from Jira - /rest/api/3/search I have a number of issues to fetch ~70K, while I am cycling through each of the pages, some of the issues get modified, deleted or…

---

## [Jira REST APIs not fetching all the issues](https://community.developer.atlassian.com/t/jira-rest-apis-not-fetching-all-the-issues/51917)

<div class="topic-metadata">

**Author:** [@AakankshaJain](https://community.developer.atlassian.com/u/AakankshaJain)\
**Replies:** 3\
**Last updated:** [September 14, 2021, 4:05pm UTC](https://community.developer.atlassian.com/t/jira-rest-apis-not-fetching-all-the-issues/51917 "2021-09-14T16:05:30Z")

</div>

Hello, I am trying to fetch around 10K issues from Jira using Rest API using “maxResults” and “startAt” in JQL. While doing that I noticed that some of the records are coming twice and some records are not coming at all.…

---

## [PageId always numeric?](https://community.developer.atlassian.com/t/pageid-always-numeric/51182)

<div class="topic-metadata">

**Author:** [@rnunez](https://community.developer.atlassian.com/u/rnunez)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 11:48pm UTC](https://community.developer.atlassian.com/t/pageid-always-numeric/51182 "2021-08-23T23:48:25Z")

</div>

This may seem to be a dumb question, but I need to know if PageIds for Confluence pages are always numeric? I have only seen so far PageIds as numeric but wanted to make sure and its important to me to know since I will…
