Skip to content

Add quick action to send incident comments to Slack

Kristen Cutler requested to merge kc-gitlab-slack-quick-action into master

What does this MR do and why?

This MR introduces a quick action /slack for incidents. With this quick action, a user can update the incident and send the comment to a designated slack channel. #345063

Screenshots or screen recordings

!

How to set up and validate locally

With gitpod and gitlab slack dev app set up:

  • Start a Gitpod instance
  • Checkout this merge request
  • Enable the feature flag in the rails console: Feature.enable(:integration_slack_app_notifications)
  • Find a project and issue and change the issue to type incident or create a new issue of type incident
  • Enter a message followed by /slack and a channel
    • If the /slack quick action doesn't appear, something is missing in the set up of Gitpod with Gitlab Slack Dev App
  • Confirm message is in the Slack channel

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 Luke Duncalfe

Merge request reports