Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 188441

Summary: [connector] RedMine
Product: z_Archived Reporter: David Lee Lambert <davidl>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: enhancement    
Priority: P4 CC: akarypid, aleksandra.k.wozniak, bloritsch, cforce, co, eximius, his, jgonzalez, jonas.demeulenaere, kojder.andrzej, kowalczyk.krzysztof, lothar, lucas.panjer, malaperle, mario.saric, markus, minora, mlists, thorsten.stettin, tuler
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Linux   
URL: http://www.redmine.org/
Whiteboard:

Description David Lee Lambert CLA 2007-05-22 15:15:14 EDT
Support posting tasks to and getting tasks from a RedMine issue-tracking system.
Comment 1 Mik Kersten CLA 2007-05-22 21:37:54 EDT
If RedMine provides a web service API (e.g. REST, SOAP) it would be helpful if someone could post a link.
Comment 2 Jean-Philippe Lang CLA 2007-05-23 12:22:43 EDT
(In reply to comment #1)
> If RedMine provides a web service API (e.g. REST, SOAP) it would be helpful if
> someone could post a link.
> 

Hi. Currently there's no WS API, but I can write one.
Is there a place where I can find API requirements for Mylar ?
Comment 3 Eugene Kuleshov CLA 2007-05-23 13:45:15 EDT
Jean-Philippe, there is no generic Mylar connector that could use some "standardized" issue tracker API. The minimal requirements for repository connector are listed here http://wiki.eclipse.org/index.php/Mylar_Integrator_Reference#Task_repository_requirements

Maybe you could try implement same API as one of the existing connectors can deal with and then use that connector for your repository. CodeBeamer folks implemented remote API that is used by their own connector, so maybe you can collaborate with them somehow. See http://wiki.eclipse.org/index.php/Mylar_Extensions#CodeBeamer_Mylar_Connector
Comment 4 Gael Marziou CLA 2007-06-14 08:02:23 EDT
Great idea, we're currently evaluating Trac vs. RedMine, and while RedMine seems better than Trac, the integration with MyLyn is a real plus.
Comment 5 Niko Schmuck CLA 2007-07-02 06:14:27 EDT
(In reply to comment #4)
> Great idea, we're currently evaluating Trac vs. RedMine, and while RedMine
> seems better than Trac, the integration with MyLyn is a real plus.

Exactly the same situation for our project. Thumbs up for the RedMine connector :-) 

Comment 6 Frederico Nunes do Pranto Filho CLA 2008-04-21 01:19:01 EDT
Hi. I'm currently working on creating a MyLyn connector for Redmine. And I'd like to know where i can find some information to start my implementation.

thanks.
Comment 7 Karl Debisschop CLA 2008-05-02 02:12:45 EDT
We are also looking at moving from trac to redmine and an eclipse plugin would probably be the last thing that would be needed to seal the deal for redmine. Unfortunately, I'm not familiar enough with eclipse or redmine to offer much help other than testing.
Comment 8 Mik Kersten CLA 2008-05-04 22:33:23 EDT
Frederico, Karl: please note that Mylyn 3.0 changes are now in progress, and we recommend not starting your implementation until the API has been revised.  See bug 227660 for details.  The Intergrator Reference will be updated after the API revisions: http://wiki.eclipse.org/index.php/Mylyn_Integrator_Reference
Comment 9 Frederico Nunes do Pranto Filho CLA 2008-05-05 01:16:24 EDT
I'm reading the Mylyn Integrator Reference to know more about it. When I starting to planning the implementation i will note the api changes. thanks.
Comment 10 Jonas CLA 2008-05-14 10:27:47 EDT
Until a dedicated Redmine connector has been developed, it might be interesting to add the Redmine demo site as example to the generic web connector. These are the parameters for the Sandbox project on demo.redmine.org:

Server: http://demo.redmine.org
Label: Redmine Demo - Sandbox
User id: guest
Password: guest
Task url: ${serverUrl}/issues/show/
New task url: ${serverUrl}/projects/sandbox/issues/new
Request url: ${serverUrl}/projects/sandbox/issues
Query url: ${serverUrl}/projects/sandbox/issues (GET)
Query pattern: <td><a href=".+?">({Id}.+?)</a></td>.+?<td class="tracker">({Type}.+?)</td><td class="status">({Status}.+?)</td><td class="priority">.+?</td><td class="subject"><a href=".+?">({Description}.+?)</a></td><td class="assigned_to">({Owner}.*?)</td><td class="updated_on">.+?</td>
Login request url: ${serverUrl}/login?username=${userId}&password=${password} (POST)
Comment 11 Mik Kersten CLA 2008-05-14 20:01:26 EDT
Thanks Jonas!  Please consider adding these to: http://wiki.eclipse.org/index.php/Mylyn/User_Guide#Generic_Web_Repository_Connector
Comment 12 Jonas CLA 2008-05-15 02:48:02 EDT
I would rather/also add it as a template in the generic web connector itself, in the server preselects, though I cannot do that myself.
Comment 13 Karl Debisschop CLA 2008-05-15 10:58:47 EDT
I made a screen cast of the process here: http://acer-rubrum.blogspot.com/2008/05/using-redmine-with-mylyn-eclipse-plugin.html

But I'd still prefer the dedicated plugin. It's one of the few things that I miss about Trac, that redmine does not provide.
Comment 14 Mik Kersten CLA 2008-05-15 17:00:05 EDT
Karl: thanks, I previously added your video to the User Guide: http://wiki.eclipse.org/index.php/Mylyn/User_Guide#Other_Resources

Jonas: you could provide a patch with the template settings: http://wiki.eclipse.org/index.php/Mylyn/Contributor_Reference
Comment 15 Jonas CLA 2008-05-19 08:05:17 EDT
Sorry but I've currently no development environment available, nor do I know which branch to work on. Would it be possible for someone to update the file org.eclipse.mylyn/org.eclipse.mylyn.web.tasks/plugin.xml with this repository addition (and test it please)? I hope someone is willing to do so.

     <repository
           repositoryKind="web"
           label="Redmine Sandbox (Redmine)"
           urlRepository="http://demo.redmine.org"
           urlNewTask="${serverUrl}/projects/sandbox/issues/new"
           urlTask="${serverUrl}/issues/show/"
           urlTaskQuery="${serverUrl}/projects/sandbox/issues">
        <attribute name="queryPattern"
                   value="&lt;td&gt;&lt;a href=&quot;.+?&quot;&gt;({Id}.+?)&lt;/a&gt;&lt;/td&gt;.+?&lt;td class=&quot;tracker&quot;&gt;({Type}.+?)&lt;/td&gt;&lt;td class=&quot;status&quot;&gt;({Status}.+?)&lt;/td&gt;&lt;td class=&quot;priority&quot;&gt;.+?&lt;/td&gt;&lt;td class=&quot;subject&quot;&gt;&lt;a href=&quot;.+?&quot;&gt;({Description}.+?)&lt;/a&gt;&lt;/td&gt;&lt;td class=&quot;assigned_to&quot;&gt;({Owner}.*?)&lt;/td&gt;&lt;td class=&quot;updated_on&quot;&gt;.+?&lt;/td&gt;"/>
        <attribute name="loginRequestMethod" value="POST"/>
        <attribute name="loginRequestUrl"
                   value="${serverUrl}/account/login.php?form_loginname=${userId}&amp;form_pw=${password}&amp;login=Login"/>

     </repository>
Comment 16 Jonas CLA 2008-06-19 09:22:27 EDT
(In reply to comment #15)
The loginRequestUrl in the previous post was wrong, it must be
        <attribute name="loginRequestUrl" value="${serverUrl}/login?username=${userId}&amp;password=${password}"/>

So the configuration to be added in plugin.xml must be:
     <repository
           repositoryKind="web"
           label="Redmine Sandbox (Redmine)"
           urlRepository="http://demo.redmine.org"
           urlNewTask="${serverUrl}/projects/sandbox/issues/new"
           urlTask="${serverUrl}/issues/show/"
           urlTaskQuery="${serverUrl}/projects/sandbox/issues">
        <attribute name="queryPattern"
                   value="&lt;td&gt;&lt;a
href=&quot;.+?&quot;&gt;({Id}.+?)&lt;/a&gt;&lt;/td&gt;.+?&lt;td
class=&quot;tracker&quot;&gt;({Type}.+?)&lt;/td&gt;&lt;td
class=&quot;status&quot;&gt;({Status}.+?)&lt;/td&gt;&lt;td
class=&quot;priority&quot;&gt;.+?&lt;/td&gt;&lt;td
class=&quot;subject&quot;&gt;&lt;a
href=&quot;.+?&quot;&gt;({Description}.+?)&lt;/a&gt;&lt;/td&gt;&lt;td
class=&quot;assigned_to&quot;&gt;({Owner}.*?)&lt;/td&gt;&lt;td
class=&quot;updated_on&quot;&gt;.+?&lt;/td&gt;"/>
        <attribute name="loginRequestMethod" value="POST"/>
        <attribute name="loginRequestUrl" value="${serverUrl}/login?username=${userId}&amp;password=${password}"/>
     </repository>

Comment 17 Markus Knittig CLA 2008-07-13 06:37:33 EDT
FYI: http://sourceforge.net/projects/redmin-mylyncon/
Comment 18 Berin Loritsch CLA 2008-09-25 16:23:05 EDT
I would like to add a vote for this bug.   I also added a bug in Redmine to have them support such and integration.  Hopefully it can happen by 0.8.0....
Comment 19 Ismael Juma CLA 2008-12-18 21:40:45 EST
Note that the connector on SourceForge has an update site and uses the EPL license.
Comment 20 Zviki Cohen CLA 2010-02-02 03:49:42 EST
Note that the SF project does not support the newly released Redmine 0.9.1. They clearly state: "Project is inactive - only bugfixes for Redmine 0.8.x will be available. No new Features, no support of Redmine 0.9."

It is high time to revive this defect and bring Redmine support to Mylyn.
Comment 21 Kamil CLA 2010-02-02 09:01:06 EST
Since Redmine-Mylyn-Connector does not support Redmine 0.9 I would like to vote for this feature too.
Comment 22 thorsten.stettin CLA 2010-02-03 18:38:30 EST
The connector is an essential tool for me. I vote for it.
Comment 23 metti CLA 2010-02-03 20:11:36 EST
+1
It's hard to live without it :( - so here's my vote :)
Comment 24 Hauke Ingmar Schmidt CLA 2010-02-04 15:05:02 EST
Very important for me too.

The current traffic came up because of a topic in the Redmine forum ( http://www.redmine.org/boards/1/topics/10923 ).
Comment 25 Mario CLA 2010-02-04 16:47:43 EST
+1
Add my vote for this connector. Redmine is really very useful and configurable tool and its user-base is growing with every version. It's very inconvenient and even somehow strange not to have mylyn connector for it. That is the reason why many users are forced to choose between very usable project tool and no eclipse integration on one side and less likable issue tracker that has the connector on the other. That's tough dilemma, whatever you choose - you lose (and miss) something.
Comment 26 Andrzej CLA 2010-02-04 16:56:49 EST
+1
It's one of the most important tools in my job.
Comment 27 Aleksandra Wozniak CLA 2010-02-06 05:23:13 EST
+1

Such a pity that there is no good solution for this -- a redmine-mylyn connector would be very appreciated.
Comment 28 Kamil CLA 2010-02-06 10:22:19 EST
(In reply to comment #24)
> The current traffic came up because of a topic in the Redmine forum (
> http://www.redmine.org/boards/1/topics/10923 ).

And from here: http://sourceforge.net/tracker/index.php?func=detail&aid=2944581&group_id=228995&atid=1075435
Comment 29 Diana CLA 2010-02-08 04:04:02 EST
another attempt to remove myself from the cc list
Comment 30 Lothar Werzinger CLA 2011-06-28 14:15:28 EDT
There is some work done on a connector at sourceforge:

http://sourceforge.net/projects/redmin-mylyncon/

Would the mylyn community (tasktop) be interested to bring that work to eclipse to be able to close this ticket?

I have to admit that I could not get the connector to work yet, but that may be well a problem on my side ;-)

I am always getting an "unexpected status code - 404" message when I try to connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use the latest redmine (1.2). Will need more research there.

Anyway, it would be great if redmine support would come to mylyn.
Comment 31 Hauke Ingmar Schmidt CLA 2011-06-29 03:39:30 EDT
(In reply to comment #30)

> I am always getting an "unexpected status code - 404" message when I try to
> connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use
> the latest redmine (1.2).

The connector seems not to be compatible with 1.2 yet, as per its description. I couldn't get it to work, the server plugin doesn't even appear in Redmine's plugin list with 1.2.
Comment 32 Terence Miller CLA 2011-08-26 05:16:46 EDT
(In reply to comment #31)
> (In reply to comment #30)
> 
> > I am always getting an "unexpected status code - 404" message when I try to
> > connect to redmine. Maybe it's that Eclipse 3.7 i so new, or that I try to use
> > the latest redmine (1.2).
> 
> The connector seems not to be compatible with 1.2 yet, as per its description.
> I couldn't get it to work, the server plugin doesn't even appear in Redmine's
> plugin list with 1.2.

Its working now in following version for redmine 1.2.1
Mylyn Connector: Redmine	0.3.1.201108240907	net.sf.redmine_mylyn.feature.feature.group	Sven Krzyzak
Mylyn Connector: Redmine - Redmine-Plugin-Support	0.1.0.201108240907	net.sf.redmine_mylyn.extensions.feature.feature.group	Sven Krzyzak


Only retrieve context has an autentification issue:https://sourceforge.net/tracker/?func=detail&aid=3397465&group_id=228995&atid=1075435
Comment 33 Steffen Pingel CLA 2011-08-26 08:10:30 EDT
I'm marking this bug resolved as not_eclipse per the last comment. The connector is maintained outside of the Mylyn project and available from this project page: http://sourceforge.net/projects/redmin-mylyncon/ .
Comment 34 Lothar Werzinger CLA 2012-06-15 20:37:51 EDT
(In reply to comment #33)
> I'm marking this bug resolved as not_eclipse per the last comment. The
> connector is maintained outside of the Mylyn project and available from this
> project page: http://sourceforge.net/projects/redmin-mylyncon/ .

The project page states:
 As of 2012-04-15, this project is no longer under active development.

Is there a way to migrate the code into eclipse so that it is maintained?
Comment 35 Lothar Werzinger CLA 2012-06-15 20:40:04 EDT
(In reply to comment #34)
> (In reply to comment #33)
> > I'm marking this bug resolved as not_eclipse per the last comment. The
> > connector is maintained outside of the Mylyn project and available from this
> > project page: http://sourceforge.net/projects/redmin-mylyncon/ .
> 
> The project page states:
>  As of 2012-04-15, this project is no longer under active development.
> 
> Is there a way to migrate the code into eclipse so that it is maintained?

The project page states it's Eclipse Public License, so that should take care of any IP issues, right?
Comment 36 Steffen Pingel CLA 2012-06-16 04:59:52 EDT
In order to bring code to Eclipse it has to go through an extensive IP review process. It helps if code is licensed under the EPL in terms of hosting it on Eclipse but it would still need to go through the same review process. While Eclipse is a great platform for hosting it can't magically solve the lack of maintainership problem and we don't have spare cycles in the Mylyn project to on another connector. I have regularly heard that people interested in Redmine and wonder if there is enough potential for building a community around the connector outside of Eclipse, e.g. by taking over the SourceForge project?