Menu

Slack Action

Overview

This 'Pulse Rule' sample sends a message to Slack which will notify a channel or person. For example, if you would like to notify a particular channel in Slack when a Jira task has been added, you can set that Pulse Rule up here. A webhook must be configured in Slack. 

Pulse Rules v9.0

Pulse Rules v9.1

SlackAction.js

Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.

Setup Pulse Rule

  1. Review the Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
  2. Enter the sample Program Code in the Pulse Actions. 
    Note: For the most up to date sample program code, view the QASymphony/PulseRules repository linked above.

Constants

Anything that uses constants.X will need your own constants value.

  • constants.SlackWebHook

Variables

None

Powered by Zendesk