Skip to main content

Why do issues get pushed to my webhook integration even when alert rules do not trigger?

Updated over a month ago

Issue

I receive issue notifications through my webhook integration even though no alert rules have fired.

Applies To

  • Customers using Sentry SaaS

  • Customers using an Internal integration

Resolution

This behavior is expected if issue webhooks are enabled in your integration settings.

  1. Go to your Integration settings for the webhook.

  2. If issue webhooks are enabled, notifications will be sent whenever an issue is created, resolved, assigned, archived or marked unresolved.

  3. To rely only on alert rules, disable issue webhooks in the integration settings. After disabling no data is sent automatically when issues change state and only configured alert rules can trigger webhook payloads.

When relying on alert rules only, webhook payloads look different. For example:

  • Issue webhook payload (with issue webhooks enabled):

    {
      "action": "resolved",
      "data": {
        "issue": {
          "id": "id",
          "title": "Error: Unhandled error for Sentry!"
        }
      }
    }
  • Alert rule webhook payload (with issue webhooks disabled):

    {
      "action": "triggered",
      "data": {
        "event": {
          "event_id": "id",
          "platform": "javascript"
        }
      }
    }
Did this answer your question?