Developer Portal for YouTrack and Hub
 

Building Integrations with Slack

Last modified: 7 November 2024

With the http module from the workflow API, you can use workflows to script push-style integrations with Slack. This type of integration lets you post notifications to Slack for specific issue events.

The workflow-based integration uses Incoming WebHooks to enable an integration between Slack and YouTrack. The YouTrack workflow sends a normal HTTP request with a JSON payload that contains the issue ID and summary.

This integration only lets you post notifications to Slack. This type of integration does not let users update issues with commands by sending direct messages to a bot account.

To set up this integration with Slack, follow these steps:

  1. Add a custom integration to Slack
  2. Customize the Slack Notifications workflow
  3. Enable the Slack Notifications workflow in YouTrack

The basic setup described here lets you post notifications to a specific channel in Slack for issue events in a single YouTrack project. For more complex integrations, see Multi-channel and Multi-project Configurations.