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
- SlackAction.js QASymphony/PulseRules repository
Pulse Rules v9.1
- SlackAction.js QASymphony/PulseRules v9.1 repository
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
- Review the Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
- 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.
Anything that uses constants.X will need your own constants value.