Add alert type to webhooks

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

Currently, alerts can only trigger a notification to email or to slack (using the Slack integration). With email, users can choose to, Send a separate email notification to Developers, but they can't define which email will be used.

As a developer, I want to trigger a webhook which can send, for example, emails, telegram and matrix messages to specific persons or rooms.

Intended users

Proposal

Allow people to utilize the existing Settings > Webhook functionality to get notifications for alerts by introducing a trigger event for alerts.

We can do this by adding an alerts checkbox to the existing webhooks page), like this:

Screen_Shot_2022-04-19_at_11.42.01_AM

By activating the webhook and selecting the new checkbox for alerts, users will be notified via the webhook that a new alert has been triggered in whatever service they've defined.

It would be good to add a similar checkbox to the existing Teams integration page. This can be a separate, follow-up issue, depending on the level of work required.

Note: though the screenshot shows alert events at the top of the trigger list, we can add it to the bottom. Was just easier to show the visual that way! 😅

User experience goal

Allow people to utilize our existing webhook feature to customize where they receive notifications for alerts.

Permissions and Security

  • Add expected impact to members with no access (0)
  • Add expected impact to Guest (10) members
  • Add expected impact to Reporter (20) members
  • Add expected impact to Developer (30) members
  • Add expected impact to Maintainer (40) members
  • Add expected impact to Owner (50) members -->

Available Tier

  • Free
  • Premium/Silver
  • Ultimate/Gold
Edited by 🤖 GitLab Bot 🤖