Medallia HipChat Notifier
Synopsis
Push notifications to a HipChat room.
Prerequisites
- NodeJS 4.X or higher
- A HipChat API token for and admin access to your team room
Creating a HipChat Room Token
- Go to hipchat.com.
- Click "rooms".
- Click your room name.
- Click "tokens".
Installation
npm install -g another-hipchat-notifier
Configuration
- Save the message to post to a text file
- Prepare the
configuration
file as shown below:
"req-body": "from": "Jira Board Notifier" "message_format": "text" "color": "red" "notify": "true" ... "settings": "api-token": "..." "room": "Room Name"
The req-body
section follows the room notification API from HipChat.
Usage
As a binary
ahn --config=<config-file> --template=<template-file> # For more options ahn --help
As a module
You can create a template file or specify the string message.
template.msg
file
Create the Hi {dev1} {dev2}
Use the plugin
var notify = ; var context = dev1: '@Eze' dev2: '@Lucia'; // Option 1 ; // Option 2 ; // Option 3var config = ...; ;
Development
Run test
npm installnpm test
License & Copyright
This software is copyrighted 2016 by Medallia, Inc. and released under the MIT License.