Project

General

Profile

Could not connect to redmine via Mylyn

Added by Carl Gneisenau over 15 years ago

Hi all,

I try to connect my Eclipse 3.4 to Mylyn. At this time I use Redmine 0.7.3. So I configured Mylyn as described in the Hotow http://www.redmine.org/wiki/redmine/HowTo_Mylyn . But after creating a new query I got nothing. So I take a look at the urls and recordnized that the given url's in the howto must bei wrong.

For example:
${serverUrl}/issues, isn't it ${serverUrl}/projects/<PROJECTNAME>/issues?

But after all it will not show the tasks in eclipse.

Additional note: I use a https server for redmine, so the url is something like http://www.xyz.org/redmine

Could this a problem of certificates? I tried to connect eclipse to the redmine project with exactly the given urls in the howto. Nothing work.

We have no proxy server here and no restrictions to the access to the internet.

Please help!

Thx Carl


Replies (2)

RE: Could not connect to redmine via Mylyn - Added by Carl Gneisenau over 15 years ago

So after a day I found the solution for the problem! Your published urls and the pattern are complete wrong. It seems you changed a little bit till to the version 0.7.3 :o)

Here the correct one. Perhaps you can post this to your wiki:

Server:                 https://projects.osb-ag.de/redmine
Task URL:               ${serverUrl}/issues/show/
New task URL:           ${serverUrl}/projects/${project}/issues/new -- Replace foo with the identifier of the project used for new tasks
Query request URL:      ${serverUrl}/projects/${project}/issues
Query pattern:          <td class="subject">.*?<a href="${serverUrl}/issues/show/(\d+)">(.+?)</a></td>
Login request URL:      ${serverUrl}/login?username=${userId}&password=${password} [POST]

So as you can see a new parameter project, which indicates the project in the query. It can also be configured in the repository and in the query dialog

RE: Could not connect to redmine via Mylyn - Added by Carl Gneisenau over 15 years ago

Additional note: the regular expression must not end with a line break.

    (1-2/2)