getsentry / getsentry/sentry

[Issue Alerts] Allow user details to be used as tags in Slack notifications

Open
#104,043 3 comments 0 reactions 0 assignees View on GitHub
Feature Product Area: Alerts
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

When creating/editing an **issue alert rule**, you can provide a comma-separated list of addition tags to append to a Slack notification.

I see two problems with this feature:
1. There are no clues indicating which tags can be entered. The input is a simple text field and does not offer any kind of autocomplete.
2. There are tags that don't seem to be valid here, for example user details.
- E.g., I wanted to append the email of the affected user to the Slack notification.
- I tried `user.email`, `user_email`, `email`, `User: Email`, `"User: Email"`.
- None of them worked.

### URL

```
https://.sentry.io/issues/alerts/rules///
```

### Screenshot

Image

### Solution Brainstorm

1. Provide a list of available tags when the input is selected, for example via auto-completion, a drop-down or a multi-select list in a modal.
2. Add user details to the list of available tags.

### Product Area

Alerts

Contributor guide

Open the contributing guide

Research direction

The issue-alert rule editor and Slack notification tag input are the named entry points; start by tracing that UI from the provided rules URL and checking how available tags are defined. Done means the editor clearly exposes valid tags, supports the requested user-detail values such as email, and the selected values appear in Slack notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.