CSharped
CSharped

Reputation: 1287

How to get all results for api/issues/search (not just first 500)?

I am trying to use the SonarQube web service API api/issues/search to extract the information of all issues. But I see that the maximum number of results from the API is only 500 with filters like pageSize.

Is there a different way of using this API so that I can get all the issues in the resultlist?

Upvotes: 0

Views: 2386

Answers (1)

G. Ann - SonarSource Team
G. Ann - SonarSource Team

Reputation: 22804

The web service results are paginated. Use ps (page size) and p to step through the result set.

That said, there's a hard limit of 10k.

Upvotes: 1

Related Questions