hubot-confluence
Respond to chat questions with a relevant wiki article
Last updated 5 years ago by amwelch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-confluence 
SYNC missed versions from official npm registry.

Build Status Coverage Status npm version

hubot-confluence

Automatically respond to questions in chat with a relevant confluence article.

##Features

Searches confluence for pages matching search terms extracted via regex

##Extending

Regexs are in src/data/triggers.json.

The capture group is the search phrase used.

For example:

"how do I configure hubot"

Would search your organization's confluence for an article on configuring hubot

##Installation

npm install hubot-confluence --save

Then add hubot-confluence to your external-scripts.json

["hubot-confluence"]

##Configuration

hubot-confluence requires an atlassian account with read access to your organization's confluence

hubot-confluence supports the following environment variables for configuration.

Required:

HUBOT_CONFLUENCE_USER			#Atlassian User
HUBOT_CONFLUENCE_PASSWORD		#Atlassian Password
HUBOT_CONFLUENCE_HOST
HUBOT_CONFLUENCE_SEARCH_SPACE 	#Comma-separated list of Confluence Spaces to search, eg DEV,MARKETING,SALES

Optional:

HUBOT_CONFLUENCE_PORT			#Defaults to 443
HUBOT_CONFLUENCE_NUM_RESULTS  	#The number of results to return. Defaults to 1.
HUBOT_CONFLUENCE_TIMEOUT  		#Timeout in ms for requests to confluence. Default is no timeout

HUBOT_CONFLUENCE_PROTOCOL #Configure the protocol to use to connect to confluence (default: https, common use cases: http, https)

##Commands

confluence show triggers	#Show the current trigger regexs
confluence help				#Show this text
confluence search TEXT		#Run a text search against the phrase TEXT

##Author

Alexander Welch amwelch3@gmail.com

##License

MIT

Current Tags

  • 0.2.3                                ...           latest (5 years ago)

5 Versions

  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (3)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |