Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarqube API pagination issue #9

Open
Vacxe opened this issue Mar 29, 2021 · 0 comments
Open

Sonarqube API pagination issue #9

Vacxe opened this issue Mar 29, 2021 · 0 comments

Comments

@Vacxe
Copy link

Vacxe commented Mar 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant