search_sonar_issues_in_projects
Search SonarCloud issues across multiple projects, applying severity and pull request filters to reveal defects and code smells.
Instructions
Search issues across one or more projects with optional PR, severity, and pagination controls.
Returns a list of issues matching the filters, with key details like rule, severity, component, and status. Use this to find code quality issues, bugs, vulnerabilities, or code smells in your projects.
Example: search_sonar_issues_in_projects(projects=["my-project"], severities="HIGH,BLOCKER", pullRequestId="123")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | Page number (1-indexed) | |
| ps | No | Page size (max 500) | |
| projects | No | List of project keys to search in (e.g., ['my-project', 'another-project']). Can be omitted to search across all projects in organization | |
| severities | No | Comma-separated impact severity levels. Valid values: 'INFO', 'LOW', 'MEDIUM', 'HIGH', 'BLOCKER'. Example: 'HIGH,BLOCKER' | |
| pullRequestId | No | Filter issues by pull request ID (e.g., '123') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| issues | Yes | ||
| paging | Yes |