sonarqubesonarqube-api

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?


Solution

  • 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.