Skip to content

Add status dropdown to the incident declaration modal

What does this MR do and why?

Resolves #374965 (closed)

Adds status dropdown to incident declare modal in Slack and process the input

Screenshots or screen recordings

Screen_Recording_2022-12-01_at_11.36.56_PM

How to set up and validate locally

  1. Setup slack dev workspace using https://gitlab.com/gitlab-org/manage/integrations/team/-/blob/main/integrations/slack.md
  2. Switch to this feature branch on GitPod https://gitlab.com/gitlab-org/manage/integrations/team/-/blob/main/integrations/slack.md#switching-to-your-feature-branch
  3. On the GitPod terminal, restart GDK: cd /workspace/gitlab-development-kit && gdk restart
  4. Make sure you visit the GitPod instance site in your browser so the development environment loads, otherwise you may experience timeouts in Slack.
  5. Enable the feature flag - incident_declare_slash_command.
  6. After setup, create a slack integration user using /dev-gitlab <any project alias where integration is enabled> issue show 1.
  7. Start the modal using /dev-gitlab incident declare and play around the modal for usage.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rajendra Kadam

Merge request reports