使用 TeamCity 修复 YouTrack 中来自 SubVersion 提交评论的问题
我有一个 TeamCity 服务器和一个与 SubVersion 一起使用的 YouTrack 服务器。我已启用两个 JB 应用程序中的集成。
是否可以通过 SubVersion 提交评论中的评论更改 YT 问题的状态?即TC将相应地更新YT状态,并在YT中设置修复完成的版本。
I have a TeamCity server and a YouTrack server working with SubVersion. I have enable integration in the two JB applications.
Is it possible to changes the status of YT issues from comments in the SubVersion commit comments? I.e. TC will update the YT status accordingly, and set in YT which version the fix was done.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以在提交消息中写入
将 #TST-12 转换为固定状态。
有关更多详细信息,请参阅此处。
Yes, f.e. you can write
in you commit message which will transit #TST-12 to the Fixed state.
For more details look here.
首先,您需要确保 TC 能够将 VCS 用户与其用户相匹配。检查 TeamCity 更改日志中的更改(构建 -> 更改日志)。如果您看到“TeamCity 用户:未知(没有任何 TeamCity 用户在他/她的 VCS 用户名设置中定义了 %user.name% 用户名)”,您应该将 VCS 用户名与您的个人资料相关联:%your_TC_server_url%/profile.html -> ;常规选项卡 ->版本控制用户名设置。
这将使 TC 识别 VCS 用户。
另请注意与代表运行集成的 TeamCity 用户的权限相关的要求。请在此处查找更多详细信息:http://youtrack.jetbrains.net/issue /JT-8233#comment=27-230640
希望这会有所帮助。
First of all you need to make sure TC is able to match a VCS user to it's user. Check a change in changes log of TeamCity (Build->Changes log). In case you see 'TeamCity user: Unknown (none of TeamCity users defined %user.name% username in his/her VCS username settings)' you should associate a VCS user name with your profile: %your_TC_server_url%/profile.html -> General tab -> Version Control Username Settings.
This will make TC recognize VCS user.
Please also be aware of requirements related to permissions of TeamCity user which integration runs on behalf of. Please find more details here: http://youtrack.jetbrains.net/issue/JT-8233#comment=27-230640
Hope this helps.