Slack Action
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/Pulse Rules repository
Pulse Rules v9.1
-
SlackAction.js QASymphony/Pulse Rules v9.1 repository
SlackAction.js
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
-
Review the qTest 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.
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