Mapping External Links in Comments
TeamCity allows mapping patterns in VCS change comments to arbitrary HTML pieces using regular expression search and replace patterns. One of the most common usages is to map an issue ID mentioning into a hyperlink to the issue page in the issue tracking system.
To configure mapping:
Navigate to the file <TeamCity Data Directory>\config\main-config.xml.
<comment-transformation>, or create one under the
<server>tag, if it doesn't exist (you may refer to the
main-config.dtdfile for the XML structure definition).
Specify the search and replace patterns. For example, you can use the following pattern for enabling JIRA integration:
TeamCity can apply several patterns to a single piece of text, if they do not intersect (match different string segments).