listProjectPullRequests
listProjectPullRequestsRetrieve pull request analyses for a SonarQube project, including branches, quality gate, and issue counts, to identify findings and use the returned key for further inspection.
Instructions
List project PR analyses. Returns key, title, source/base branches, URL, analysis date, quality gate, and issue counts; use the key as pullRequest in other tools. Returns empty when DevOps integration is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Project key; omit only if the server has a default. Discover with `listProjects`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | No | Key of the project these pull requests belong to. | |
| pullRequests | No | List of pull requests with analysis status and issue counts. |