It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

detailssummary API pagination

Luis Gonzalez Mar 06, 2018


Congrats for your product.

I´m using /rest/masterdetail/1.0/detailssummary/lines?spaceKey=XXX&pageSize=99&cql=label=xxxx

The API answer seems to paginate, but there is no link to the next page... nor parameter to access a page in particular.

"currentPage": 0,
"totalPages": 3,
"renderedHeadings": [

Trying to find a workaround, if &pageSize=99 added to the url, detailLines returns empty instead of the 30 detailLines that returns without that parameter.

Any suggestion? 

Thanks in advance,


1 answer

0 votes
BH May 22, 2018 • edited

I posted this answer on this question, too, but I'll put it here in case someone didn't find my other post.


I was having this same issue, but I figured it out.  You should see the totalPages in the first part of the results.

{"currentPage":0,"totalPages":17, etc.

To see more pages, add &pageIndex=1 to the request to get the next page. 

If there are 17 pages, &pageIndex=16 would be the last page (0 would be what's included in the first page).

Here's what the request would look like to see the second page, using the example, with the additional pageIndex part:



Luis Gonzalez May 22, 2018

Thanks BH!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

898 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you