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