Skip to content

Hubot script that detects GitHub issue / pr keys in messages, fetch corresponding details and display them

Notifications You must be signed in to change notification settings

AirVantage/hubot-github-issue-pr-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-github-issue-pr-fetcher

Hubot script that detects GitHub issues / PRs in messages, fetch corresponding details and display them

Build Status

Usage

Requires the following environment variables to be set:

  • GITHUB_OWNER
  • GITHUB_PROJECTS_KEYS
    • e.g: hubot-jira-issue-fetcher,node-tech-mail
  • GITHUB_TOKEN

Features

Light display

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

Detailed display

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

Development

Written in ES7 it uses babeljs and requires to be built using npm run build before getting started.

About

Hubot script that detects GitHub issue / pr keys in messages, fetch corresponding details and display them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published