项目作者: esigler

项目描述 :
A JIRA plugin for Lita
高级语言: Ruby
项目地址: git://github.com/esigler/lita-jira.git
创建时间: 2014-02-22T21:29:05Z
项目社区:https://github.com/esigler/lita-jira

开源协议:MIT License

下载


lita-jira

Build Status
MIT License
RubyGems :: RMuh Gem Version
Code Climate
Gemnasium

A JIRA plugin for Lita.

Installation

Add lita-jira to your Lita instance’s Gemfile:

  1. gem "lita-jira"

Configuration

Add the following variables to your lita config file:

  1. config.handlers.jira.username = 'your_jira_username'
  2. config.handlers.jira.password = 'a_password'
  3. config.handlers.jira.site = 'https://your.jira.instance.example.com/'

Optional attributes

  • context (string) - If your instance is in a /subdirectory, put that here. Default: ''
  • format (string) - You can select a compact one line issue summary by setting this parameter to one-line. Default: verbose
  • ambient (boolean) - When set to true, Lita will show JIRA issue details when a JIRA issue key is mentioned in chat, outside the context of a command. Default: false
  • ignore (array) - Prevent ambient JIRA issue detection in certain users’ messages. Accepts user names, mention names, and IDs. Default: []
  • rooms (array) - Limit ambient JIRA issue detection to a certain list of rooms. If unspecified, the bot will respond to detected issues in all rooms.
  • use_ssl (boolean) - When set to true, an SSL connection will be used to JIRA. Set to false if you run JIRA over plain http.
  1. config.handlers.jira.context = '/myjira'
  2. config.handlers.jira.format = 'one-line'
  3. config.handlers.jira.ambient = true
  4. config.handlers.jira.ignore = ['Jira', 'Github', 'U1234']
  5. config.handlers.jira.rooms = ['devtools', 'engineering']
  6. config.handlers.jira.use_ssl = false

Usage

Shortcuts

  1. todo <project> "<subject>" ["<summary>"] - Creates an issue in <project> with <subject> and optionally <summary>
  1. jira <issue> - Shows a short summary <issue>
  2. jira details <issue> - Shows all details about <issue>
  3. jira comment on <issue> <comment text> - Adds <comment text> to <issue>
  4. jira myissues - Displays a list of issues assigned to identified user

Misc

  1. jira identify <email address> - Associate your chat user with your email address
  2. jira forget - Remove your chat user / email association
  3. jira whoami - Show your chat user / email association

CHANGELOG

CHANGELOG

License

MIT