Slack Integration
Connect Qualflare to Slack to receive notifications about defects, milestones, failure clusters, and test results in your Slack channels.
Last updated
The Slack integration posts a short message to a Slack channel when something happens in a project. Stay informed about new defects, failed test runs, failure clusters and completed milestones without leaving Slack.
Setup
Step 1: Install the Slack App
- In the workspace sidebar, open Integrations. You need a workspace role of Editor or higher
- Find Slack under Notifications
- Click Install
- You are redirected to Slack to authorize the Qualflare app
- Select your Slack workspace, then click Allow
- You are redirected back to Qualflare with the integration installed
Step 2: Configure Per-Project Notifications
- In Slack, add the Qualflare app to the channel you want to use. Qualflare can't post to a channel the app hasn't joined, and a private channel appears in the list only after you add the app
- In Qualflare, open Integrations in the project sidebar. You need the Editor role or higher on the project
- Click Configure on the Slack integration
- Select the Default Channel
- Under Events, select the events that should send a message
- Click Save
Notification Events
| Event | Message Format |
|---|---|
| Defect Created | New defect created: #<number> <name> (Severity: <severity>) |
| Defect Resolved | Defect resolved: #<number> <name> |
| Launch Completed | Launch #<number> completed with status: <status> (Passed: <count>, Failed: <count>) |
| Launch Failed | Launch #<number> failed with status: <status> (Failed: <failed>/<total>) |
| Cluster Created | Failure cluster detected: <cluster name> (<count> affected cases) |
| Milestone Completed | Milestone completed: <milestone name> |
| Flaky Test Detected | Flaky test detected: <test case name> (<rate>% flaky rate) |
Messages are plain text, with no links. Launch events come only from results uploaded with the CLI, a reporter or the API: Launch Failed when the upload includes a failed, error, timed-out or aborted test, and Launch Completed otherwise. In Launch Completed messages the counts currently always read Passed: 0, Failed: 0.
Each project posts every selected event to its one Default Channel, and a project can't split events across Slack channels. To send some events somewhere else, connect another chat integration, such as Microsoft Teams or Discord, and select those events there.
Disconnecting
Removing Slack deletes every project's Slack settings. To use Slack again, install it and set up each project from scratch.
To remove the Slack integration, open Integrations in the workspace sidebar, click the trash icon on the Slack card, then click Remove. Qualflare also revokes its access token at Slack.
See Also
Notion Integration
Connect Qualflare to Notion to create a page in a Notion database whenever a defect, failed launch, failure cluster or flaky test appears.
Microsoft Teams Integration
Post Qualflare defect, launch, failure cluster, milestone and flaky test events to Microsoft Teams channels through a Workflows webhook URL.