Skip to main content

Rollbar integration

Report exceptions and deploys, triage items, and react instantly to new, reactivated or resolved Rollbar items on behalf of your clients.

View the Rollbar page

What it does

The Rollbar integration lets you send occurrences into a client's Rollbar project, look up and triage items, read occurrences and item history, record and finish deploys, and pull the project's most active errors for a daily digest. Its triggers fire in real time when Rollbar sees a new item, reactivates or resolves one, a person reopens one, an item crosses an occurrence milestone, an error occurs, or a deploy is reported.

Connect a Rollbar account

  1. Open your workspace in TaskJuice and navigate to Connections.
  2. Choose Rollbar and click Connect.
  3. In a new tab, sign in to rollbar.com and open the client project you want to integrate.
  4. Open Project Settings, then Access Tokens, and create a token with the read and write scopes. Paste it as the Read and write token.
  5. To report errors or deploys, create a second token with only the post_server_item scope and paste it as the Post server item token. Rollbar does not allow post_server_item on the same token as read or write.
  6. Save the connection.

Each scope backs a specific part of the integration:

TokenScopesNeeded for
Read and writereadevery lookup and list action
Read and writewriteUpdate Item Status, and the webhook rules TaskJuice manages for your triggers
Post server itempost_server_itemTrack Occurrence, Report Deploy and Update Deploy

To rotate or revoke a token later, return to the project's Access Tokens screen, regenerate it, and update the TaskJuice connection. Use a separate token per client project so revocation stays scoped.

Triggers

TriggerFires when
rollbar/new-itemRollbar sees a new distinct error or message for the first time
rollbar/reactivated-itema resolved item occurs again and Rollbar reactivates it
rollbar/item-resolvedan item is marked Resolved
rollbar/item-reopeneda person marks a resolved item Active again
rollbar/item-occurrence-milestonean item reaches its 10th, 100th, 1,000th (and so on) occurrence
rollbar/new-occurrenceany error or message occurs (high volume, see below)
rollbar/new-deploya deploy is reported to the project

Every trigger has an optional Environment filter. Pick one (for example production) to ignore events from other environments, or leave it empty to receive them all.

Turn on the project's webhook once. Rollbar sends nothing to any webhook rule while the project's webhook notifications are off, and they are off on a new project. Open a Rollbar trigger in the editor, pick the connection for that project, and copy the callback URL the console step shows for it, then in Rollbar go to Project Settings, Notifications, Webhook, and turn the webhook on with that URL. Each connection (one Rollbar project) has its own URL, and events sent to it start only the workflows that use that connection. If the webhook is already on with another URL, leave it as it is.

You do not create the rules yourself. When you publish a workflow, TaskJuice adds a webhook notification rule for that event to the project through the Rollbar API, pointed at your own delivery address. Your project's existing notification rules and its default webhook URL are left untouched. Removing the Rollbar connection deletes the rules TaskJuice added.

New Occurrence fires once for every error your application reports. On a busy project that is a run per error, so prefer New Item or Item Occurrence Milestone unless you really need every event.

Rollbar deliveries are not signed

Rollbar does not sign webhook requests. What protects your workflow is the delivery address itself: it is unguessable and unique to your workspace. Treat trigger data as unattested and re-read anything security-relevant with Get Item before acting on it.

Actions

Items

  • rollbar/track-occurrence reports an error or message to the project, with environment, level, code version, custom data and an optional person.
  • rollbar/list-items pages through items, filtered by status, level, environment, framework and assignee.
  • rollbar/get-item fetches one item by its ID.
  • rollbar/find-item finds an item by its project counter (the number in the item's Rollbar URL) or by an occurrence UUID.
  • rollbar/update-item-status resolves, mutes, archives or reactivates an item, changes its level or assignee, and records the version that resolved it.
  • rollbar/list-item-events reads an item's history: comments and status, level, assignment and title changes.

Occurrences

  • rollbar/list-item-occurrences lists one item's occurrences, newest first.
  • rollbar/list-occurrences lists the latest occurrences across the whole project.
  • rollbar/get-occurrence fetches one occurrence with its full stack trace, request and person data.

Deploys

  • rollbar/report-deploy records a deploy against an environment and revision.
  • rollbar/update-deploy finishes a deploy that was reported as started, marking it succeeded, failed or timed out.
  • rollbar/get-deploy fetches one deploy by ID.
  • rollbar/list-deploys pages through recent deploys.

Reports

  • rollbar/get-top-active-items returns the most active items over the last few hours with hourly counts, ready for a daily digest.

Known limitations

  • A project access token reaches one Rollbar project. Connect each client project separately.
  • If a published trigger never fires, check that the project's webhook notifications are still on in Rollbar (Project Settings, Notifications, Webhook). The rules TaskJuice adds carry their own delivery address, so any URL works there.
  • The high occurrence rate event is not offered as a trigger, because Rollbar requires a per-rule rate threshold for it. Use Item Occurrence Milestone, or Get Top Active Items on a schedule.
  • Project, team, user and access-token administration need an account access token and are not part of this integration.
  • Rollbar may retry a delivery that takes longer than three seconds to acknowledge, so a workflow can occasionally run twice for one event.
  • Update Deploy only works while the deploy is still started; Rollbar refuses later changes with a conflict error.
Was this helpful?