- Documentation
Bugsnag integration
Triage Bugsnag errors, post comments, and react to new exceptions on behalf of your clients' projects.
What it does
The Bugsnag integration (now SmartBear Insight Hub) lets your agency turn client error reports into structured response workflows. Connect a Bugsnag personal auth token once and your workflows can discover the client's organizations and projects, page through open errors, post triage comments back onto an error, change an error's status to fixed, snoozed, or ignored, and react in real time when Bugsnag forwards a new exception via its Data Forwarding webhook.
Connect a Bugsnag account
- Open your workspace in TaskJuice and navigate to Connections.
- Choose Bugsnag and click Connect.
- In a new tab, sign in to app.bugsnag.com as the client.
- Open My Account Settings, go to Personal auth tokens, and generate a new token. Give it a name that identifies TaskJuice so revocation stays scoped.
- Copy the token and paste it into TaskJuice, then save the connection.
To rotate or revoke the token later, return to the same Personal auth tokens screen in Bugsnag, generate a replacement, update the TaskJuice connection, and delete the old token.
Triggers
bugsnag/error-createdfires when Bugsnag forwards a new error or a notable event on an existing error via the Data Forwarding webhook. The payload includes the account, project, trigger reason (firstException,errorEventFrequency,projectSpiking, etc.), the error metadata, and the most recent event details.
The webhook delivers one event per POST. Configure the webhook in the Bugsnag UI under Data Forwarding with a custom Authorization header value matching the shared secret you supply when subscribing the trigger. TaskJuice verifies the header on every inbound POST and rejects unsigned traffic.
Actions
bugsnag/list-organizationslists the Bugsnag organizations the connected user belongs to, with paging via theoffsettoken returned in the Link header.bugsnag/list-projectslists projects in a given organization, with an optional search query and the same offset paging.bugsnag/list-errorspages through errors on a project with optional filters for status, severity, release stage, sort key, direction, and a since timestamp.bugsnag/create-error-commentposts a comment (Markdown supported) to an error, attributed to the connected user.bugsnag/update-error-statusupdates an error with one of the documented operations (fix,open,snooze,ignore,override_severity), with optional reopen rules for snooze and severity for override.
Known limitations
- The integration calls the Bugsnag Data Access API v2 with a personal auth token. Per-token request limits, project visibility, and operation permissions are governed by the connected user's Bugsnag role, not by TaskJuice. When Bugsnag returns a 422 with a validation error, TaskJuice surfaces it as a non-retryable validation failure; 429 responses are surfaced as retryable rate limits.
- A personal auth token inherits every project the connected user can see in Bugsnag. Connect each client account with a dedicated user so revocation, project visibility, and audit trails stay isolated.
- Bugsnag does not sign webhook payloads with HMAC. Inbound authentication relies on a static shared secret carried in the
Authorizationheader you set under Data Forwarding. Treat the secret like an API key, store it in TaskJuice, and rotate it in Bugsnag when staff rotate. - Bugsnag's Data Forwarding webhook fires on configurable triggers (first exception, regression, project spiking, frequency thresholds, etc.). The
trigger.typefield on the payload tells the workflow which condition fired so branches can fan out by reason.