Skip to the content.

How to create Jira issues from Sentry errors automatically

Sentry tells you an error happened. Jira tracks the work to fix it. The gap between the two is usually a human copying a stack trace, which means it happens for the errors someone noticed and not for the ones that mattered.

What Sentry’s own Jira integration does

Sentry ships a Jira integration that lets you create an issue from an error, by hand, and link it. That is useful, and for many teams it is enough. What it does not do:

What to decide before automating

  1. Which errors deserve a ticket. Everything is too many. A minimum event count, an environment filter and a level filter turn noise into signal — a single error in staging is not a ticket.
  2. What “the same error” means. Dedup identity should be the Sentry issue, not the event, so a nightly failure is one ticket with a count rather than five hundred tickets.
  3. What happens on recovery. If it resolves in Sentry, someone has to close the ticket, or the board fills with fixed work.

Doing it with Crashdesk

Crashdesk is the automated version of that loop:

  1. Paste the app’s webhook URL into a Sentry internal integration and subscribe to issue events.
  2. Define rules per Sentry project: target Jira project, issue type, minimum event count, levels and environments.
  3. A matching error creates a Jira issue carrying the culprit, level, environment, event count and a link back to Sentry.
  4. The same error recurring comments on the existing issue with an updated count.
  5. Moving the Jira issue to a done status resolves it in Sentry; a Sentry resolve leaves a note on the Jira issue.
  6. An hourly reconciliation scan picks up anything a dropped webhook would have lost.

The webhook is signed and verified, and the endpoint refuses unsigned requests.


Crashdesk for Jira · DataForte AB · hello@dataforteab.com