Associating revisions with a Redmine issue

旧时模样 提交于 2019-12-21 05:32:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!