How to create an issue alert in Sentry

Create a Sentry issue alert for your javascript project that sends a notification when a new issue is created, from picking the project to naming it.

Quick answer

To create an issue alert in Sentry, open Monitors, then Alerts, and choose Create Alert. Pick the javascript project, keep the A new issue is created trigger, add the Notify on preferred channel action, give the alert a name, and click Create Alert. Sentry then opens the alert page.

Steps at a glance

  1. Open the New Alert form from Alerts.
  2. Select the javascript project under Projects.
  3. Keep the trigger for a new issue.
  4. Open the action list and pick a notification.
  5. Rename the alert at the top.
  6. Click Create Alert and check the alert page.

Interactive demo

Loading demo…

Summary

An issue alert tells Sentry to notify you when issues in a project meet conditions you set. Setting one up means you hear about new errors without checking the issue feed.

Step-by-step guide

  1. Step 1

    Choose the project

    On the New Alert form, find the Source section. Click the Projects field to open the project list.

  2. Step 2

    Select javascript

    In the list under My Projects, click javascript so the alert covers issues from that project only.

  3. Step 3

    Check the trigger

    In the Alert Builder, the first trigger reads A new issue is created. Leave it in place so the alert fires whenever Sentry sees a new issue.

  4. Step 4

    Add an action

    Under Then perform these actions, click Select an action to open the list of notification options.

  5. Step 5

    Pick the notification action

    Choose Notify on preferred channel from the Notifications group. Sentry adds the action to the alert.

  6. Step 6

    Name the alert

    Click the alert name at the top of the page and type a clear name, such as New issue in Acme Tasks web.

  7. Step 7

    Create the alert

    Click Create Alert at the bottom right to save the alert.

  8. Step 8

    Confirm the new alert

    Sentry opens the alert page with the name you chose. Check the Connected Projects list to confirm javascript is attached.

Why this matters

You ship a release and want to know the moment a new error appears in your web app, without refreshing the issue feed. An issue alert sends that notification for you, so you can react before users report the problem.

Frequently asked questions

  • What does the A new issue is created trigger do?

    It makes the alert fire when Sentry sees a new issue in the connected project.

  • Can I see how often the alert has fired?

    Yes. The alert page shows Alerts Triggered and a History table. A new alert shows Total Triggers as 0 until it fires.

Create interactive demos like this one — free, no coding required.

Start for free →