Trigger methods
| Method | Use case | Configuration |
|---|---|---|
| API call | Trigger tasks from any CI system | POST /api/projects/{id}/tasks/{taskId}/run |
| GitHub deployment events | Post-deploy verification | Dashboard event triggers |
| Scheduled runs | Nightly regression, periodic smoke tests | Dashboard schedule configuration |
| GitHub webhook events | Test on push or PR | Dashboard event triggers |
API trigger
Trigger any Bugzy task programmatically from your CI/CD pipeline:Response
GitHub Actions
Run tests on PR
Post-deploy smoke tests
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:Common schedules
| Schedule | Cron | Task | Purpose |
|---|---|---|---|
| Nightly regression | 0 2 * * * | run-tests | Full test suite against staging |
| Hourly smoke | 0 * * * * | run-tests | Critical path smoke tests on production |
| Weekly test generation | 0 9 * * 1 | generate-test-plan | Refresh test plans based on recent changes |
Event trigger mapping
The event trigger system maps incoming webhook events to agent tasks:| Source event | Agent task | Outcome |
|---|---|---|
Push to main | run-tests | Regression tests on latest code |
| PR opened/updated | run-tests | Targeted tests for PR changes |
| Deployment succeeded | verify-changes | Post-deploy verification |
| Jira “Ready for QA” | verify-changes | Re-test after bug fix |
Troubleshooting
API calls returning 401 — Verify yourBUGZY_API_TOKEN is valid and has access to the target project.
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).
Scheduled runs not executing — Verify the schedule is enabled in the dashboard and the cron expression is correct.