TeamCity 2020.1 Help

GitHub

TeamCity integration with GitHub issue tracker can be set up separately or as a part of TeamCity integration with GitHub source code hosting service.

When setting up integration with GitHub, in addition to the repository URL and other general settings, you need to configure authentication and specify the issue ID pattern.

Authentication

TeamCity allows you to select whether you want to connect to GitHub anonymously or to be authenticated via a personal access token (PAT).

Converting Strings into Links to Issues

You also need to specify which strings should be recognized as references to issues in your tracker. For GitHub, you need to use the regex syntax, for example, #(\d+).

TeamCity will resolve the issue number mentioned in a VCS comment and will display a link to this issue in the web UI (for example, on the Changes page, Issues tab of the Build Results page).

Last modified: 23 July 2020