VCS Labeling feature: missing branch spec in build template
I have a build template which gets attached to builds. One of these templates does VCS labeling. However, I am unable to set a branch filter for the VCS labeling feature in the template:

but in the underlying build I can:

but this requires an override of the template, and manually configuring every project with the same filter. How can I set a branch filter at the template level and avoid project-specific overrides/configuration?
Please sign in to leave a comment.
Hi Raman,
does the template have a VCS with branches attached? If TeamCity doesn't detect it it will hide the option considering it useless.
Edit: To clarify, not that it considers it useless, but because it cannot be used under the current circumstances, it might lead to issues on inheritance on builds that don't have a build with branch support.
Thanks Denis, no the template does not have a VCS attached. Your explanation makes sense, though I would hope it would just apply that setting if the build inheriting the template had branch support, and ignore it otherwise (with a warning).