Query to get all the issues for the project and branch

Hey there.

We do not recommend directly querying the SonarQube database (and could not provide support in doing so). The most sensible way to pull information out of SonarQube is to use the Web API (documentation linked in the footer of your instance).

Specifically, you probably want to look at the api/issues domain of Web APIs, including GET api/issues/search.

You might also find this guide useful: