Skip to content

Handle no schedules case for escalaltion rule

What does this MR do?

Disables schedules dropdown and shows info icon when no schedules to fill in for the escalation policy rule were created

This functionality is behind the feature flag run

rails c
Feature.enable(:escalation_policies_mvc)

The minimal license required is GitLab Premium

To check - navigate to your project=>Monitor=>Oncall-schedules (to create and/or delete schedule).

then Monitor=>Escalation Policies and try adding escalaiton policy=> Note schedules dropdown

Screenshots (strongly suggested)

Has schedules No schedules
Screenshot_2021-05-27_at_17.08.12 Screenshot_2021-05-27_at_17.07.58

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 #268356 (closed)

Edited by Olena Horal-Koretska

Merge request reports