将修订与Redmine问题相关联 [英] Associating revisions with a Redmine issue

查看:219
本文介绍了将修订与Redmine问题相关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种方法可以手动将修订/提交与Redmine问题相关联?

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.

我现在无权更改提交消息。即使我愿意,我仍然无法删除Redmine的数据,无法再次重建它。 (有问题的方法 Redmine和SVN:如何在提交发生后将修订链接到问题?)。

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?).

我用正确链接到修订的 r ...注释。但这只是一个链接。

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.

有没有办法手动强制Redmine查看这种关联?

Is there any way to manually force Redmine to see such an association?

推荐答案

有一种简单的方法可以将Redmine问题与提交手动关联。在您的项目中,单击存储库选项卡,选择目标版本,单击右侧的添加链接,然后选择目标问题。现在,您已将此修订与您的问题相关联。

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.

此功能适用于Redmine版本2.4.2。

This works for Redmine version 2.4.2.

这篇关于将修订与Redmine问题相关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆