Add option to email user in escalation policy

What does this MR do?

It adds the ability to create an escalation rule that will escalate the alert to a specific user. Previously there was only one option - to email user oncall in some oncall schedule

The minimal license required is GitLab Premium

To check - navigate to your project=>Operations=>Escalation Policies.

Add escalation policy with rules ->select option to Email user. Try updating rules, removing rules

If schedule dropdown in add policy modal is disabled - navigate to your project=>Monitor=>Oncall-schedules to create a schedule or several

Screenshots (strongly suggested)

2021-07-05_16.38.58

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #330648 (closed)

Edited by Sarah Yasonik

Merge request reports

Loading