Hubot script that detects JIRA issue keys in messages, fetch corresponding details and display them
Requires the following environment variables to be set:
JIRA_HOST
- e.g:
issues.sierrawireless.com
- e.g:
JIRA_PROJECTS_KEYS
- e.g:
PLTFRS,OPE
- e.g:
JIRA_USER
JIRA_PWD
It will ignore messages posted by other bots/apps
When invited in a channel, hubot detects JIRA issue keys, fetch corresponding details and display a minimal version of the details:
- Key (link)
- Status
- Summary
When talking directly to or mentioning hubot in message channel, will result in hubot providing more information regarding the issue(s):
- Assignee (name + avatar)
- Key + Summary (link)
- Description
- Status