HowTo Mylyn » History » Version 5

« Previous - Version 5/46 (diff) - Next » - Current version
Jeffrey Price, 2009-05-11 15:33
Updated link/text to Web Template connector


HowTo connect a Mylyn repository to Redmine

Mylyn is an Eclipse plugin for task management.
This HowTo explains how to connect to Redmine using the generic web repository connector.

Note that the generic web repository connector is not part of the default Mylyn install.
So, you have to install it first from the inubator update site (see http://download.eclipse.org/tools/mylyn/update/incubator).

Create a Task Repository

  1. Right-click on the task repositories list and click Add task repository
  2. Choose Web Template (Advanced) and click Next
  3. Configure the repository:
Server:                 http://www.redmine.org -- Replace it with the URL of your Redmine instance
Task URL:               ${serverUrl}/issues/show/
New task URL:           ${serverUrl}/projects/foo/issues/new -- Replace foo with the identifier of the project used for new tasks
Query request URL:      ${serverUrl}/issues
Query pattern:          <td class="subject">.*?<a href="/issues/show/(\d+)">(.+?)</a></td>
Login request URL:      ${serverUrl}/login?username=${userId}&password=${password} [POST]

Example:

You can replace the Query request URL parameter with the following if you want to get only the issues that are assigned to you:

${serverUrl}/issues?set_filter=1&assigned_to_id=me

Create a Query

  • On the task list, right-click and choose New -> Query...
  • And select your newly created repository

mylyn-repository-properties.png (88.1 KB) Jean-Philippe Lang, 2008-05-03 19:55

mylyn-task-list.png (47.2 KB) Jean-Philippe Lang, 2008-05-03 19:55

mylyn-repository-properties-2.png - Current screenshot, contributed by Sebastian T. Hafner (157 KB) Felix Schäfer, 2010-07-13 16:00

redmin-mylyncon.png - Screenshot for the mylyn connector, contributed by Metello Bordin (33.9 KB) Felix Schäfer, 2010-08-09 09:36