Skip to main content

Managing Incidents in Slack

Last updated on

Harness AI SRE provides a set of Slack slash commands that enable you to manage incidents directly from your workspace. These commands work within incident channels and provide quick access to common incident management actions.

Prerequisites

Before using Slack commands, ensure your organization has completed the Slack integration setup.

Available Commands

Incident Management

CommandDescription
/harness newCreate a new incident
/harness editEdit the incident associated with the current channel
/harness closeClose the incident associated with the current channel
/harness reopenReopen a closed incident associated with the current channel

Incident Information

CommandDescription
/harness summarizeDisplay the current incident summary (visible only to you)
/harness key-eventsEdit key events for the incident associated with the current channel

Collaboration

CommandDescription
/harness attach-meetingLink a video conference to this incident and automatically transcribe and detect key events from the discussion
/harness runbookView runbook steps and run scripts for the incident associated with the current channel

On-Call Paging

On-Call Feature Required

The following commands are available when your organization uses Harness On-Call. These commands enable you to page responders and track page status directly from Slack.

CommandDescription
/harness pagePage a user, user group, or service
/harness page-statusView page status for the incident associated with the current channel

Usage Examples

Creating a New Incident

Type /harness new in any Slack channel to open the incident creation dialog. Fill in the incident details and submit to create a new incident with an associated Slack channel.

Paging On-Call Responders

From an incident channel, use /harness page to page a user, user group, or service. When paging a service, notifications are sent through all configured contact methods (email, SMS, phone, mobile app) based on the service's escalation policy.

To use paging commands, ensure your team has configured on-call schedules and escalation policies.

Viewing Incident Summary

Use /harness summarize in an incident channel to get a quick overview of the current incident status, including severity, impacted services, and timeline of key events. The summary is displayed as a Slack ephemeral message visible only to you.