如何使用TeamCity集成在构建中修复YouTrack字段? [英] How do I get YouTrack field fixed in build filled out using TeamCity integration?

查看:133
本文介绍了如何使用TeamCity集成在构建中修复YouTrack字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我们的YoutTrack和TeamCity之间进行集成.但是,我无法让YouTrack填写固定于版本"字段:

I am trying to get integration between our YoutTrack and our TeamCity working. However I cannot get YouTrack to fill out the "Fixed in build" field:

  • 使用TeamCity 7.1.3,YouTrack 5.0.2.
  • TeamCity集成设置将YT的固定在构建中"指出构建字段"
  • YouTrack可以在"TeamCity更改"标签中正确显示TeamCity的构建.
  • 用户名正确映射.
  • 通过VCS提交注释的YouTrack命令可以正常工作.
  • 从提交注释引用的简单YouTrack问题可以正常工作.

但是,无论我做什么,固定在内部"字段都保留在下一个内部".

However, no matter what I seem do to, the "Fixed in build" field remains at "Next build".

我尝试检查YT设置中的将每个版本添加到列表".现在,内部版本号可以正确地放入内部版本"捆绑包中,但仍未设置固定在内部版本".我也尝试了未解决的公开问题和未解决的问题.

I tried checking the "Add each build to list" in YT setup. Now the build numbers correctly goes into the Build bundle, but still "Fixed in build" is not set. I also tried with both open and closed issues with no effect.

知道我想念什么吗?

推荐答案

在将问题标记为已修复之前,您必须在提交中提及该问题.因此,当您标记了已解决的问题时,它将设置为下一个版本,而在下一个成功的版本上,您将获得固定的版本集-假设成功的版本是与您跟踪项目链接的那个版本.

You have to mention the issue in a commit before you mark the issue as fixed. So when you mark the issue fixed it gets set to next build, and on the next build that succeeds you get the fixed in build set - assuming the build that succeeded was the one linked to that youtrack project.

在最长的时间内,您必须在轨道中将问题标记为已修复,然后才能进行任何构建.

For the longest time you had to have the issue marked fixed in youtrack before any builds would cause the fixed in build to be set.

因此,使用问题ID提交,然后在下一个版本中标记已修复的问题.您可以从问题中刷新teamcity集成,以便它负责构建.

So, commit with issue ID, then mark issue fixed in next build. You can refresh the teamcity integration from the issue so it picks up the build.

首先,我在代码中解决了该问题.将更改提交到源代码管理.然后在YouTrack中-我将问题标记为已修复"

First I fix the issue in the code. Commit the change to source control. Then in YouTrack - I mark the issue "Fixed"

您还可以手动将问题链接到提交.

You can also manually link the issue to the commit.

这篇关于如何使用TeamCity集成在构建中修复YouTrack字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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