Open Task from Redmine Issue Tracker feature in IntelliJ 10 CE doesn't work proper

Hello,

at first, I am realy happy you integrated support for redmine into intelliJ 10 CE.

The connection to the server works, but the links in "Change List" and in "Commit comments" Features are not working proper.

Redmine doesn't link per project (as far I can see this, it is not configable) , it has systemwide ticket numbers.

IntelliJ produces commit comments like:   <projectname>-<issuenumber>  <description>  
so like we know from youtrack.

But redmine cannot link this with an issue. It woruld be better if one can configure more, or you guy may correct it to
#<issuenumber> <description>

By the same solution it would be fine if the name of the change list would contain a link to the issue, applying the pattern:
http://<redmineserver>:<port>/issues/<issuenumber>  may be for the textstring  #<issuenumber>

Even better would be to add configuration possebilitys so the user can set up e.g. the discribed behavior himself.

what do you think, is this worth to be done ?

regards
Matthias

7 comments
Comment actions Permalink

Perhaps its worth to mention the versions:

redmine 1.0.4
and IntelliJ 10 Community Edition (final)

If noone has the time to look at this, could someone point me to the class which implements redmine support.
Since this is open source, I may find a solution for it and will post it here. Or is this the wrong forum for my question?
May this is only for professional version users and I should move this into another CE oriented forum?

thanks
matthias

0
Comment actions Permalink

There are couple of similar requests (like http://youtrack.jetbrains.net/issue/IDEA-62494). We're planning some improvements (such as customizeable commit messages for all tasks repositories) in future versions, probably in 10.1. If you like to look at the source code, you can look at RedmineRepository class

0
Comment actions Permalink

Hello,

sorry, I didn't found the other posts because I  only searched for redmine. My only experienced where once with youtrack where everything works fine.
I downloaded sourcecode and will look at this class. I hope I find a post-worthy solution hoping to accelerate this process.

thanks
Matthias

0
Comment actions Permalink

Hello,

meanwhile I had some time to make a *little* Fix for the problem. With the patch I posted it will do it correctly for redmine.
I wonder about the thing that in IntelliJ IDEA 9 the youtrack based Tasks have in the "Changes" Window a link in the change list.
For Redmine I wasn't able to reproduce this. I compared RedmineRepository.java with YouTrackRepository.java but I can't
find something which could produce this different behavior there.

-> Question: is the "link to issue in Change List Issue name" Feature from IDEA 9 not in IDEA 10 CE ? Or did I miss something?

thanks

Matthias



Attachment(s):
Introduced_Redmine_Ticket_ID_Style__projectname__#123_instead_of__projectname_-123.patch.zip
0
Comment actions Permalink

I found out, that class TaskRenderer has the code to do the Hyperlink to Issue in change list thing.
at least I think it does it.

Is there a reason for taking this feature out of used code?

regards
Matthias

0
Comment actions Permalink

Hello,

I now finished my work on RedmineRepository class. Ich posted the new patch as an attachment in youtrack wiki.
people with the same problems may want to apply it.

have fun with it

ciao matthias

0

Please sign in to leave a comment.