是否可以修复链接到 JetBrains YouTrack 的签到评论中的错误?
背景
我们的持续集成设置是 TFS 作为源代码控制,TeamCity 作为构建,YouTrack 用于问题管理。所有这些都通过 TeamCity 和 YouTrack 的紧密集成以及通过 TFS 签到的评论机制联系在一起。
这意味着“PROJECT-1 添加了 xyz 功能”的评论签入会自动将签入和关联的团队城市构建与 YouTrack 中的问题关联起来。
我们已进行此设置,因此所有签入都必须与 YouTrack 问题相关联,并且自定义签入策略使用 YouTrack .NET API (https://github.com/JetBrains/YouTrackSharp) 与 YouTrack 进行通信,并确保每次签到的评论都包含有效的 YouTrack Id。
我们遇到的问题是,在评论中仍然很容易弄错 ID,即输入 PROJECT-2 而不是 PROJECT-1,并将签入与错误的问题相关联。
问题
有没有办法通过将签入与正确的问题重新关联来解决这些问题,方法是:
更改源代码控制系统中的变更集注释并执行某些操作,以便 YouTrack选择这些更改并反映这些更改,或者;
在 YouTrack 中手动编辑以将更改移至正确的问题 ?
Background
Our continous integration setup is TFS as source control, TeamCity as build, and YouTrack for issue management. All these are linked together through the tight integration of TeamCity and YouTrack and through the comments mechanism of check-ins via TFS.
This means that a comment check-in of "PROJECT-1 added xyz functionality" would automatically associate the check-in and associated team city build with the issue in YouTrack.
We have set this up so all check-ins have to be associated with a YouTrack issue and a custom check-in policy uses the YouTrack .NET API (https://github.com/JetBrains/YouTrackSharp) to communicate with YouTrack and ensure that the comments for each check-in contains a valid YouTrack Id.
The problem we have is that it is still too easy to get the ID wrong in the comments i.e. typing in PROJECT-2 instead of PROJECT-1 and associating a check-in with the wrong issue.
Question
Is there a way to fix these issues by re-associating the check-in with the correct issue, either by:
changing the changeset comments in the source control system and doing something so that YouTrack picks these changes up and reflects the changes, or;
manually editing in YouTrack to move the change to the correct issue
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
目前还不可能,但是您可以为相应的问题投票以加快速度这是实施。
亚历山大
Currently it is not possible, you may, however, vote for the respective issue to speed up it's implementation.
Alexander
对于您提到的第一个选项,TeamCity 中有一个请求:http://youtrack。 jetbrains.net/issue/TW-1619
For the first option, you've mentioned, there is a request in TeamCity: http://youtrack.jetbrains.net/issue/TW-1619