Actions8
- Issue Actions
- Measure Actions
- Project Actions
- Quality Gate Actions
Issue → Get Many
AI-generatedOverview
This node interacts with the SonarQube and SonarCloud Web API to retrieve multiple issues based on specified filters and parameters. It is useful for users who want to fetch a list of issues from their SonarQube projects, optionally filtering by criteria such as branch, component keys, organization, pull request ID, resolution status, severities, statuses, and issue types. For example, a user can retrieve all unresolved critical issues for a specific branch or pull request, or limit the results to a certain number of issues.
Use Case Examples
- Fetch all unresolved issues with severity 'Critical' for a specific branch.
- Retrieve up to 50 issues filtered by component keys and issue types.
- Get all issues related to a particular pull request across an organization.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all results or only up to a given limit. |
| Limit | Maximum number of issues to return when 'Return All' is false. |
| Filters | Collection of filters to narrow down the issues to retrieve, including branch, component keys, organization, pull request ID, resolved status, severities, statuses, and types. |
Output
JSON
issues- Array of issue objects returned from the SonarQube API, each representing an individual issue with its details.
Dependencies
- SonarQube or SonarCloud API with authentication credentials
Troubleshooting
- Common issues include API authentication failures, which can be resolved by verifying the API key or token credentials.
- Incorrect filter parameters may result in empty results; ensure filter values like branch names, component keys, and organization keys are correct.
- API rate limits or pagination issues may occur when retrieving large datasets; use the 'Return All' option carefully and consider API limits.
Links
- SonarQube Web API Documentation - Official documentation for SonarQube Web API endpoints and parameters.