Skip to content

Sonarqube API pagination issue #9

@Vacxe

Description

@Vacxe

Hello guys. I'm working around Sonarqube API and I want to download all issues from our project.

My request looks like
https://servername.com/api/issues/search?componentKeys=<ProjectName>$facetMode=effort$facets=types&types=CODE_SMELL&ps=500&p=20

It will return 20th page of issues (9500-10000 range).
When I trying to request 21 page I got:
Can return only the first 10000 results. 10500th results asked.


For my end it looks really odd why I cant request more then 10k issues with pagination? It can be different types of smells and on big project it definitely make sense to be able download more the 10k. Also I can't request all the issues at once. Why? I think that product should provide this possibility and don't block the end user with internal performance issues.

F.E. in my case I`m happy to have 10 sec curl request instead of multiple shorts ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions