I would like to have links to defects appear in the TeamCity UI when changes are displayed for builds.
We have this in place now but our bug tracking system has changed and the links are no longer correct.
I posted a question about this about 20 months ago and Alexey gave a good regex expression to do this.
I have tried changing it. But each time I do it seems to break the TeamCity UI & I have to revert back to
the original main-config.xml.
Typically, the check-in comments include this in the first line: Bug #<5-digit bug number>.
There are variations. Some examples are:
[ Bug #12345 ]
bug # 12345
Bug # 12345
The bug numbers are always 5-digits.
I would like to capture the defect id and append it to the following URL as a link:
So, that the link would be something like this for example:
Can someone describe how to setup <comment-transformation> in main-config.xml to do this?