Executing Commands from a Comment to a VCS Change Commit in YouTrack/TeamCity Integration
This is not working for me, though I am receiving TeamCity links to YouTrack issues that I put in VCS comments such as ID-nnn, but if I use the form "#ID-nnn fixed" that command is supposed to change the issues status in YouTrack.
As I am trying to get the above to work, I have my YouTrack->TeamCity Integration-> mapping->Actions->Apply Command set to blank, but I have found any command provided there also doing nothing.
My guess is that I am missing some magic dust regarding the state of an Item in YouTrack that would allow it to qualify for the Items VCS command being issued - and that in my testing I am not following a proper workflow. My guess is:
Do a build, release the build in YouTrack (Admin-Project->Fields->Fix Versions, add version number, release it)
Wait for issues to be created and assigned to that build via Item:Affected Versions.
- Grab the issue id and use it in VCS comments as a command: #ID-nnn fixed
- Commit, triggering build.
- Go to YouTrack and see that issues status is now Fixed??
In short, what are the qualifiers for an Item to be affected by VCS commands, what is the proper workflow, and how do I get the integration mapping command (which I left blank above), to work?
Please sign in to leave a comment.
Hello Mark,
I've answered your questions on Stack Exchange: http://stackoverflow.com/questions/8087512/executing-commands-from-a-comment-to-a-vcs-change-commit-in-youtrack-teamcity-in
Best regards,
Alexander Volfman