Hubot script that detects GitHub issues / PRs in messages, fetch corresponding details and display them
Requires the following environment variables to be set:
GITHUB_OWNER
GITHUB_PROJECTS_KEYS
- e.g:
hubot-jira-issue-fetcher,node-tech-mail
- e.g:
GITHUB_TOKEN
When invited in a channel, hubot detects GitHub issues / PRs mentions using project#issueNumber
syntax (for instance hubot-jira-issue-fetcher#2
), 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
Written in ES7 it uses babeljs and requires to be built using npm run build
before getting started.