0.0
No commit activity in last 3 years
No release in over 3 years
Lita handlers for Redmine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0

Runtime

>= 0
>= 0
>= 4.3
 Project Readme

lita-redmine2

Lita Redmine Plugin - Redmine handlers with auth per user

Installation

Add lita-redmine2 to your Lita instance's Gemfile:

gem "lita-redmine2", git: "https://github.com/netbrick/lita-redmine2", branch: "master"

or just

gem "lita-redmine2"

Dependencies

redis-server

Configuration

add into lita_config.rb Redmine URL and secret key for Redmine API encryption

Lita.configure do |config|
...
  config.handlers.redmine2.url = "https://redmine.site.cz"
  config.handlers.redmine2.secret_key = "<secret key to encrypt tokens in redis>"
...
end

Secret key must be between 4 and 56 bytes length.

Usage

redmine|rm list <object #> - Redmine list objects, calls Redmine API as /:object.json
redmine|rm time entry new [Issue_id] [Hours] [Activity name] [Comment] - Create new time entry with today's date

redmine|rm issue <issue #> - Displays issue id and subject
redmine|rm issue close <issue #> - Selects first status with closing attribute and updates issue to this status
redmine|rm issue detail <issue #> - Displays issue detail
redmine|rm issue journal <issue #> - Displays issue journal
redmine|rm issue link <issue #> - Displays issue link
redmine|rm issue new [Project name] [Subject] [Description] <firstname secondname> - Create new issue, name is optional and selects user to assign issue to
redmine|rm issue state change <issue #> <status_name> - Change issue status to specified

redmine|rm issues - List my issues
redmine|rm issue note <issue #> note - Add note to issue
redmine|rm issue assign <issue #> [firstname secondname] <note> - Assign issue to user, note is optional

redmine|rm projects - List my projects

redmine|rm register <api token> - Register API token
redmine|rm unregister - Unregister API token
redmine|rm token - Show registered token (PM)

redmine|rm info - Display info
<something>#<issue #><something> - Displays issue subject when mentioned in conversation