All Collections
Creating and running incidents
FAQs
I have existing incident channels, can those be imported?
I have existing incident channels, can those be imported?

How to import existing incident Slack channels, along with the key events that happened.

incident.io Engineering Team avatar
Written by incident.io Engineering Team
Updated over a week ago

You may start using incident.io after having already run incidents within Slack in the past. If so, you'll want to bring all the data with you when starting to use our product to make sure your team has the relevant information to hand, and to track trends in your incidents using our Insights.

πŸ—ƒοΈ What if the Slack channel is archived?

Bots can't view the contents of archived channels, so you'll need to enable privileged Slack access, which lets us unarchive the channel and see what was in it.

Don't worry, we'll also re-archive the channel after the import is complete!

πŸ“‹ How do I import an incident from an existing Slack channel?

You'll be following the same steps outlined in the Creating your first incident using the API help article

When making the API call to create the incident, make sure to:

  • Set mode within the request payload to "retrospective"

  • Set retrospective_incident_options.slack_channel_id within the request payload to the Slack channel ID

For example, the payload might look like:

{
"mode": "retrospective",
"retrospective_incident_options": {
"slack_channel_id": "C01DZSENFFT"
},
"custom_field_values: [],
"severity_id": "01G0J1EXE7AXZ2C93K61WBPYEH"
}

After the incident has been created, the main events that occurred in the Slack channel will be used to generate the incident timeline, and your insights will be updated within an hour.

Did this answer your question?