This workflow codifies an incident response process for PagerDuty incidents. The process in this workflow is to create a jira ticket and assign to the current on-call person and set up an incident response slack room with the jira ticket as the room title, and invite the on-call person to the slack room to start documenting the remediation steps taken.
Before you run this workflow, you will need the following connections configured in Relay:
- A PagerDuty account.
- A Jira account.
- A Slack workspace bot with the following permissions:
channels:manageto create the channel and set the topic
users:readto list users
users:read.emailto read users' email addresses
chat:writeto send messages
chat:write.publicto send messages to channels without joining
chat:write.customizeto sennd messages as a customized username and avatar
Configure the workflow
You may need to update some of the default parameters or connection information in this workflow to run in your environment. The default configuration assumes:
- Your PagerDuty connection is called
- Your Jira connection is called
- Your Slack connection is called
- Your Jira issue ticker is
- Your incident slack room is called
Set up the trigger
When you create this workflow for the first time, we'll automatically provision a webhook for you. You need to provide this webhook to PagerDuty to complete the integration.
In the workflow overview page in Relay, find the webhook URL by navigating to the Setup sidebar. Copy the URL to your clipboard.
In PagerDuty, determine which services you want to run the workflow when an incident is triggered. For each of those services:
- Click on the Integrations tab.
- At the bottom of the page, click Add or manage extensions.
- Create a New Extension:
- Extension Type:
Generic V2 Webhook
- URL: Paste the webhook URL from your clipboard.
- Extension Type:
- Click Save.
Whenever an incident is triggered for the first time, this workflow will run. You can reuse the same webhook URL for many services.