A plugin that allows you to query Redmine using rbot
Ruby
Switch branches/tags
Nothing to show
Clone or download
jamtur01 Update redmine_urls.rb
Fixed Redmine issue url for newer Redmine versions.
Latest commit ba2cc8b Mar 21, 2013
Permalink
Failed to load latest commit information.
README Added Extra Issues Information option. Sep 23, 2010
redmine_urls.rb Update redmine_urls.rb Mar 20, 2013

README

# redmine_urls crudely updated by James Turnbull 
# based on trac_urls written by wombie
# Needs to go in the plugins dir for rbot

Requires the following gems:

* mechanize (1.x +)
* nokogiri

Configuration options (to be placed in conf.yaml)

redmine_urls.channelmap - A map of channels to the base Redmine URL that should be used in that channel.  Format for each entry in the list #channel:http://redmine.site/to/use.  Don't put a trailing slash on the base URL, please.

redmine_urls.projectmap - A map of channels to Redmine projects to be queried in that channel.  
Format for each entry in the list is #channel:project.  This setting is needed for wiki and changeset queries where the project name is embedded in the query.  Currently only one project can be monitored per channel.

redmine_urls.auth_user - Username for basic http authentification to the Redmine site

redmine_urls.auth_pass - Password for basic http authentification to the Redmine site

redmine_urls.extra_issue_information - Set to true to return ticket status and assignee in addition to URL and title.  Defaults to false.

conf.yaml:

redmine_urls.channelmap:
- "#channel:http://url/to"

redmine_urls.projectmap:
- "#channel:project"