list_ci_issues
Retrieve and filter CI/CD build issues and errors from App Store Connect to identify and resolve problems in iOS/macOS development workflows.
Instructions
List issues and errors from a build run or build action
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildRunId | No | The ID of the build run to list issues for (provide either buildRunId or buildActionId) | |
| buildActionId | No | The ID of the build action to list issues for (provide either buildRunId or buildActionId) | |
| limit | No | Maximum number of issues to return (default: 100, max: 200) | |
| sort | No | Sort order for the results | |
| filter | No | ||
| include | No | Related resources to include in the response | |
| fields | No |
Implementation Reference
- dist/src/handlers/workflows.js:61-81 (handler)The `listIssues` method in WorkflowHandlers class that executes the core logic of the 'list_ci_issues' tool. It validates input, builds query parameters using helpers, determines the appropriate App Store Connect API endpoint (/ciBuildRuns/{id}/issues or /ciBuildActions/{id}/issues), and fetches the issues data via the client.
async listIssues(args) { const { buildRunId, buildActionId, limit = 100, sort, filter, fields, include } = args; if (!buildRunId && !buildActionId) { throw new Error('Either buildRunId or buildActionId must be provided'); } const params = { limit: sanitizeLimit(limit) }; if (sort) { params.sort = sort; } if (include?.length) { params.include = include.join(','); } Object.assign(params, buildFilterParams(filter)); Object.assign(params, buildFieldParams(fields)); const endpoint = buildRunId ? `/ciBuildRuns/${buildRunId}/issues` : `/ciBuildActions/${buildActionId}/issues`; return this.client.get(endpoint, params); }