Created
December 23, 2015 01:21
-
-
Save partkyle/7ee58df4d0daeb544d1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+-------------+--------------------------------------------------------------+ | |
| Property | Value | | |
+-------------+--------------------------------------------------------------+ | |
| id | 567892f7b4bdf72e16426dea | | |
| uid | rule:chatops:notify | | |
| ref | chatops.notify | | |
| pack | chatops | | |
| name | notify | | |
| description | Notification rule to send results of action executions to | | |
| | stream for chatops | | |
| enabled | True | | |
| action | { | | |
| | "ref": "chatops.post_result", | | |
| | "parameters": { | | |
| | "user": "{{trigger.data.user}}", | | |
| | "execution_id": "{{trigger.execution_id}}", | | |
| | "channel": "{{trigger.data.source_channel}}" | | |
| | } | | |
| | } | | |
| criteria | { | | |
| | "trigger.route": { | | |
| | "pattern": "hubot", | | |
| | "type": "equals" | | |
| | } | | |
| | } | | |
| tags | | | |
| trigger | { | | |
| | "type": "core.st2.generic.notifytrigger", | | |
| | "ref": "core.st2.generic.notifytrigger", | | |
| | "parameters": {} | | |
| | } | | |
| type | { | | |
| | "ref": "standard", | | |
| | "parameters": {} | | |
| | } | | |
+-------------+--------------------------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment