SVN 签入以关闭 redmine 问题票 [英] SVN check-in to close redmine issue ticket
问题描述
可能的重复:
使用提交注释自动关闭 Redmine 任务
有谁知道如何在 SVN 和 Redmine 问题之间强制建立链接.
Does anyone know how to force a link between SVN and a Redmine issues.
我在网上看到的大部分内容都与使用 bash 脚本和预提交挂钩有关,但是我们安装了 Windows,因此希望可以在对服务器进行很少更改的情况下在 Windows 中运行的东西(即最少安装第三方程序).
Most of the things I’ve seen on the web are related to using bash scripts and pre-commit hook, but we have a windows installation, so was hoping for something that would work in windows with little change to the server (i.e. minimal installation of third party programs).
目前,我们将# in 添加到评论字段,这允许 redmine 选择它,但最终目标是让 Redmine 在签到时关闭一张票,并使用正确的评论,如关闭 #".
For the moment, we are adding the # in to the comment field, which allows redmine to pick it up, but the end goal would be to have Redmine close a ticket on checkin with the right comment like "Close #".
有插件吗?
推荐答案
这取决于你如何配置你的 Redmine 实例,但通常关闭工单的关键字是fixed #132",它通常在没有任何预先设置的情况下关闭工单- 提交钩子.您是否更新了存储库浏览?因为 Redmine 只会根据需要而不是自动读取日志条目.
It depends on how you have configured your Redmine instance, but usually the keywords for closing a ticket are "fixed #132" which usually closes a ticket without any pre-commit hook. Have you updated the repository browsing? Because Redmine will read the log entries only on demand not automatically.
这篇关于SVN 签入以关闭 redmine 问题票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!