One step YouTrack “Fixed in build” filling with TeamCity integration

南楼画角 提交于 2019-12-12 13:02:36

问题


I am using TeamCity Professional 8.1 and YouTrack 5.0.6.

I have managed to fill "Fixed in build" field in YouTrack with two step workflow.

  1. I am using #issue-id Fixed command in my Merucrial commit message to change the state of issue in YouTrack.
  2. I made some changes in code ( not related to fixed issue) and I push changes to the server.

When TeamCity finishes the build with changes from the second step it fills the "Fixed in build" field of my issue with the build number.

But the issue was actually fixed in the previous build...

So I want to be able to fill the "Fixed in build" field right in the first build that includes the command to change the state of the issue to Fixed.

Is this possible?

Edit: I have fixed my issue by changed the issue prefix from number "1" to my project name "csv".


回答1:


Please uncheck 'Process Resolved Issues' option in mapping dialog and make sure time on TC and YT is in sync -- if YT decides a build was created before the issue was fixed, it will not set it into fixed in build.



来源:https://stackoverflow.com/questions/23116356/one-step-youtrack-fixed-in-build-filling-with-teamcity-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!