问题
Is there a way to manually associate a revision/commit with a Redmine issue?
Normally we do that by having a proper format of the commit message ("Resolves #..." in our case). But I forgot about it and used a different message.
I have no rights to change the commit message now. And even if I would I still would not be able to delete Redmine's data for it to rebuild it again. (Method given in question Redmine and SVN: How to link a Revision to an Issue AFTER the commit has happened?).
I have updated the issue with "r..." comment which properly linked to the revision. But that is just a link. It didn't generate the "Associating revisions" as a proper commit message would.
Is there any way to manually force Redmine to see such an association?
回答1:
There is an easy way to manually associate Redmine issue with a commit. In your project, click the Repository tab, choose target revision, click the Add link on the right side and choose the target issue. Now you have this revision associated with your issue.
Notice that you can also delete associations here.
For both operations, it is necessary to have "Manage related issues" permission.
This works for Redmine version 2.4.2.
来源:https://stackoverflow.com/questions/22175084/associating-revisions-with-a-redmine-issue