Option "Update selected issues - Apply a command" in TeamCity integration

I read the manual and also did some experiments. But I still haven't understand out how it should work. I assumed that this is a command that is executed every time when the build link is published in issue.

Can you please explain how this option works? 

1 comment
Comment actions Permalink
Official comment

Hi!

I'm Sergey from the Youtrack team.

Thank you for the message. I'm happy to help you.

There are two settings related to commands:

As I understand, you are referring to the command field in 'Update selected issues' under 'Actions for builds'. This command runs for an issue once it's assigned a build number (whether the issue is assigned a build number depends on your setting in 'Select which issues to update'). The command is the same for all the issues, though you can use a ${build} variable which can differ from issue to issue. For example, it can be helpful if you want to add the built number to a custom field.

Hope it helps. 

If you have any questions left, please let me know. 

Please sign in to leave a comment.