Skip to content

Instantly share code, notes, and snippets.

@partkyle
Created December 23, 2015 01:21
Show Gist options
  • Save partkyle/7ee58df4d0daeb544d1e to your computer and use it in GitHub Desktop.
Save partkyle/7ee58df4d0daeb544d1e to your computer and use it in GitHub Desktop.
+-------------+--------------------------------------------------------------+
| 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