1.2.2 • Published 1 month ago
hubot-redmine v1.2.2
Hubot Redmine
Light mapping of the Redmine REST API that allows Hubot access to some basic Redmine tasks. Once you have a Redmine user (preferably one with enough access to modify tickets), add the following to your Heroku/etc. config:
heroku config:add HUBOT_REDMINE_BASE_URL="http://redmine.your-server.com"
heroku config:add HUBOT_REDMINE_TOKEN="your api token here"
Installation
In hubot project repo, run:
npm install hubot-redmine --save
Then add hubot-redmine to your external-scripts.json
:
[
"hubot-redmine"
]
Configuration
Environment Variable | Required? | Description |
---|---|---|
HUBOT_REDMINE_BASE_URL | Yes | URL to your Redmine install |
HUBOT_REDMINE_TOKEN | Yes | API key for your selected user |
HUBOT_REDMINE_MENTION_REGEX | No | Listen for this pattern and link to Redmine tickets when heard (default /RM#(\d+)/ ) |
HUBOT_REDMINE_MENTION_MATCH | No | Index of matched capture from HUBOT_REDMINE_MENTION_REGEX (default 1 ) |
HUBOT_REDMINE_MENTION_IGNORE_USERS | No | Comma-separated list of users to ignore |
HUBOT_REDMINE_SEARCH_LIMIT | No | Maximum search results to show for "redmine search", default is 10 |
Showing issue details
Showing my issue (or another user's)
- @Hubot redmine show my issues
- @Hubot redmine show user's issues ** user will attempt to match on redmine firstname or login
Re-Assigning tickets
Leaving notes on tickets
Create tickets
- @Hubot redmine add issue to "project" traker id with "subject" ** tracker id is optional and represent the number matching literal value Bug/Feature/...
Get a link to an issue
- @Hubot redmine link me issue id
Set the percent done of an issue
Search Redmine
The default results limit is 10, configurable via HUBOT_REDMINE_SEARCH_LIMIT
.
- @Hubot redmine search
1.2.2
1 month ago
1.2.1
3 months ago
1.2.0
4 months ago
1.1.1
5 months ago
1.1.0
9 months ago
1.0.4
11 months ago
1.0.3
1 year ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.5
7 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
9 years ago