Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Slack Notification Transport enables JEMH to send messages to the Slack communications platform in response to events that occur in your Jira.

Table of Contents

Configuration

Set up the Slack webhook

Use the slack web interface, go the Channel you want notifications and use the Cog icon.

Find the Incoming Webhooks app and click install (if the screen doesn't send you back, navigate back to the channel and configure from there)

Image Removed

Add a configuration for the Incoming Webhooks app.

...

Add webhook integration to Slack

  1. Navigate to the Slack App Directory web page

  2. Search for the Incoming WebHooks app

  3. Click Add to Slack

  4. Select a channel in Slack that you want messages to be sent to

...

  1. Click Add Incoming WebHooks integration

...

Image Removed

Slack will generate a Webhook URL for this particular the integration. Copy this URL , as you will need it shortly. At this point you can also customize the name, description and icon used by the integration. Save the changes when done.Image Removed

...

...

Configure Slack Transport

...

in JEMH

Go the JEMH > Notifications and select the Slack transport tab. Click New Transport Config.Image Removed

...

Paste the Webhook URL that you copied from Slack into the Webhook field. If you wish, enter a description and a message that will be sent on saving on the configuration (to verify the webhook works).Image Removed

...

If you already have a Project Mapping created, skip ahead to the Select event templates step. If you do not have any Project Mappings, create one by clicking New Project Mapping.Image Removed

...

Enter the key of the project that you want to integrate with Slack, and save your changes.Image Removed

...

Select event templates

Ensure that you are on the Slack transport tab under Transports. Then, edit your project mapping.Image Removed

...

Select the transport configuration that you created earlier. Then, select a template for the issue event that you want a message to be sent to Slack for. Save your changes.

Now, when an issue event is fired for the project (and that event type has a template selected), the configured Slack channel will receive a message for it.

Image Removed

...