Project

General

Profile

How to link an issue to a revision?

Added by Julien Lestavel over 14 years ago

Hi everybody,

First of all, congratulations to all the Redmine Development team : I'm a new Redmine user, and I'm truly impressed by it.

I have a question about associating revisions to an issue : how can I do that? I have seen on redmine.org that some issues are related to revisions (like this one : #1190), but I can't find where the association can be done. It seems to be neither in the Issue section, nor in the Repository section.

I read that I had to specify the revision in the commit message of the revision (include "#1190" in the text) but I have tested this method and It didn't work.

Could you help me?

Thanks in advance,

Julien


Replies (5)

RE: How to link an issue to a revision? - Added by Felix Schäfer over 14 years ago

Have a look at the Guide, especially the point explaining how to reference issues in commit messages.

RE: How to link an issue to a revision? - Added by Julien Lestavel over 14 years ago

Yes, I have seen that, but I can't make it work.

And in my example (#1190), there is no word "fixes" or "refs" in the commit message of the revision r2841, BUT r2841 and #1190 are associated!

What didn't I understand??

RE: How to link an issue to a revision? - Added by Julien Lestavel over 14 years ago

OK, my mystake.

I suppose redmine.org uses this option described in the guide:
"If you want to reference issues without using keywords, enter a single star: * in the Referencing keywords setting. In this case, any issue ID found in the message will be linked to the changeset."

I haven't seen it.

So, last question : is it the only way to associate an issue and a revision?

For instance, if I forgot to specify the issue id in my commit message, is it too late? Shouldn't it be a good idea to make it possible to link an issue and a revision "manually"?

RE: How to link an issue to a revision? - Added by Felix Schäfer over 14 years ago

Julien Lestavel wrote:

So, last question : is it the only way to associate an issue and a revision?

For instance, if I forgot to specify the issue id in my commit message, is it too late? Shouldn't it be a good idea to make it possible to link an issue and a revision "manually"?

AFAIK, it's the only way, but I think there already are some feature requests asking for a way to manually associate revisions and issues, although I don't think it will make it into 0.9, so don't hold your breath on that one. One way to make it easier to remember putting a issue id in the commit log would be to use the tortoisesvn plugin if you use windows, or even go down a more drastic path and make an issue id mandatory and enforce that in a pre-commit hook.

RE: How to link an issue to a revision? - Added by Julien Lestavel over 14 years ago

Ok, everything is clear now. Thanks for your help. I think this feature (manual association of an issue and a revision) is quite important.

And, once more : congratulations. I tried other project management applications but Redmine is from far the best.

    (1-5/5)