Giter Site home page Giter Site logo

hubot-confluence's Introduction

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 [email protected]

##License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.