Skip to content

Lita handler for display JIRA issues if a JIRA key is seen in conversation.

License

Notifications You must be signed in to change notification settings

jlambert121/lita-jira-issues

 
 

Repository files navigation

lita-jira-issues

Gem Version Build Status Code Climate Coverage Status

Lita handler for showing JIRA issue details when a JIRA issue key is mentioned in chat. Inspired by the Hubot jira-issue plugin

Note: Version 0.2+ of this hander require Lita 4. If you'd like to use this handler with Lita 3.x, please use version 0.1

Installation

Add lita-jira-issues to your Lita instance's Gemfile:

gem "lita-jira-issues"

Configuration

The jira_issues handler needs to be configured with your JIRA instance. Add the following configurations to your lita_config.rb.

config.handlers.jira_issues.url = 'http://jira.local'
config.handlers.jira_issues.username = ENV['JIRA_USER'] || 'user'
config.handlers.jira_issues.password = ENV['JIRA_PASSWORD'] || 'password'

As in the example above, you can always use environment variables for sensitive information like the JIRA user's password.

Optionally you can prevent JIRA issue lookups from certain users using the ignore configuration parameter

config.handlers.jira_issues.ignore = [ 'Jira', 'Github' ]

Usage

Simply mention any JIRA valid key in upper or lower case, eg. JIRA-123, proj-8, and Lita will respond with the issue details.

License

MIT

About

Lita handler for display JIRA issues if a JIRA key is seen in conversation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%