Prerequisites
Before integrating with your CI/CD pipeline, you need a project API key:- Go to Dashboard > Project Settings > API Keys
- Click Generate API Key
- Copy the key immediately — it’s only shown once
- Store it as a CI secret (e.g.,
BUGZY_API_KEY)
Trigger methods
API trigger
Trigger any Bugzy task programmatically from your CI/CD pipeline:Response
GET /api/v1/projects/{projectId}/executions/{executionId}, or configure notifications via Slack/Teams to receive results.
Send test results to Bugzy
If you run tests in your own CI pipeline (Playwright, Cypress, Jest, pytest, etc.), you can forward the results to Bugzy for AI-powered triage. Bugzy analyzes failures, identifies flaky tests, and can file bugs automatically.Endpoint
Example
Response
The
results field accepts any JSON structure. Bugzy’s triage agent parses common formats including Playwright JSON reporter output, Jest JSON, JUnit XML converted to JSON, and pytest JSON. Include as much detail as available — test names, error messages, stack traces, and file paths help the agent produce better analysis.GitHub Actions
Run tests on PR
Post-deploy smoke tests
Forward test results
Run your own tests in CI, then send the results to Bugzy for triage:Deployment hooks
GitHub deployment events are processed automatically when you configure event triggers in the dashboard:- Go to Dashboard > Projects > [Your Project] > Event Triggers
- Map
deployment_statusevents to a Bugzy task (e.g.,verify-changesorrun-tests) - When a deployment succeeds, Bugzy receives the webhook and executes the mapped task
Scheduled runs
Configure recurring test execution from the dashboard:1
Open task schedule
Go to Dashboard > Projects > [Your Project] > Schedules.
2
Create schedule
Select a task, set the cron expression, and configure parameters.
3
Activate
Enable the schedule. Bugzy will execute the task at the specified intervals.
Common schedules
Event trigger mapping
The event trigger system maps incoming webhook events to agent tasks:
Configure mappings in Dashboard > Event Triggers with optional filters for branch patterns, file paths, or labels.
Troubleshooting
API calls returning 401 — Verify yourBUGZY_API_KEY is valid and has access to the target project. Keys can be regenerated in Dashboard > Project Settings > API Keys.
Tasks not triggering on deployment — Check that event triggers are configured in the dashboard and the deployment creates a GitHub deployment event (not all CI tools do this by default).
Webhook events returning 404 — Verify the event_type value matches a configured trigger. The default mapping recognizes test_results.received. For custom event types, configure a trigger in Dashboard > Event Triggers.
Scheduled runs not executing — Verify the schedule is enabled in the dashboard and the cron expression is correct.