Actions8
- Issue Actions
- Measure Actions
- Project Actions
- Quality Gate Actions
Project → Get Many
AI-generatedOverview
This node interacts with the SonarQube and SonarCloud Web API to retrieve multiple projects based on user-defined criteria. It supports fetching all projects or limiting the number of results, with optional filtering by project name, qualifiers, and organization. This is useful for users who want to automate the retrieval of project data for analysis, reporting, or integration with other systems.
Use Case Examples
- Retrieve all projects from SonarQube without limit.
- Fetch up to 50 projects whose names contain a specific string.
- Get projects filtered by qualifiers and organization key.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all results or only up to a given limit. |
| Limit | Maximum number of project results to return when 'Return All' is false. |
| Additional Fields | Optional filters including query string to limit project names, qualifiers to specify component types, and organization key for SonarCloud. |
Output
JSON
components- Array of project objects returned from the SonarQube API, each representing a project with its details.
Dependencies
- Requires an API key credential for SonarQube or SonarCloud server authentication.
Troubleshooting
- Common issues include authentication failures due to invalid or missing API credentials. Ensure the SonarQube API key is correctly configured.
- API rate limits or pagination issues may occur when retrieving large datasets. Use the 'Return All' option carefully to avoid excessive data loads.
- Error messages from the API are propagated; check the error details for issues like invalid parameters or network problems.
Links
- SonarQube Web API Documentation - Official documentation for SonarQube Web API endpoints used by this node.