Slack is a powerful chat tool that can be used by organizations to tie various services into a single communications platform. Slack makes it easy to communicate with your team. This integration allows you to acknowledge and resolve your PagerDuty incidents from within Slack. This complements our Slack to PagerDuty integration guide, which allows you to trigger PagerDuty incidents from Slack and replaces our Legacy PagerDuty to Slack integration guide.
When a Slack extension is added to a channel, Slack users in that channel will be given the opportunity to sign into PagerDuty to associate their Slack and PagerDuty accounts. Whenever an incident is triggered, the trigger message in Slack will show an acknowledge button, a resolve button, and a button to add notes. Users who have associated their Slack and PagerDuty accounts will respond as their PagerDuty users when using these buttons, keeping records of their actions from Slack consistent with actions from other clients in your analytics. If they do not have permissions to respond in PagerDuty, they will be unable to respond in Slack. Optionally, users who have not associated accounts will be unable to modify the state of the incident.
When you use the option to only allow PagerDuty users to acknowledge/resolve or add notes to incidents from Slack, they will be prompted to link their Slack user to the PagerDuty account. Once they have done that, any action they perform will show their PagerDuty user taking action on the incident. Users who have not linked their accounts yet will be unable to take action, and instead will be prompted again to link accounts.
In this case, you’ll set up the new extension the same way as outlined above, then you can delete the old webhook.
If alerts are enabled for a service with Slack, Slack will only update the incident_key. Slack doesn’t update based on alert, but it notifies other Slack users of incidents for an alert grouping based on
incident_key. You can still ack or resolve an incident in Slack to update the incident status in PagerDuty.
If there are multiple alerts that are merged, the source incidents will appear as merged in Slack and will be updated as resolved with the
merged as well as the target incident number they are merged into.
Can I unlink my PagerDuty and Slack user after it has already been linked?
Yup! If you go to your PagerDuty user profile page, click to the User Settings tab, and you will see the option to link your user with your Slack user.
How do incident notes work with this extension?
The notes are synced bi-directionally. Notes added from Slack are sent to the PagerDuty incident, and notes added to the PagerDuty incident create a Slack notification.