Team Foundation Work Items
Team Foundation Work Items tracking is integrated with TeamCity. Supported versions are Microsoft Visual Studio Team Foundation Server 2012 or later, and Azure DevOps Services.
By default, the integration works the same way as the other issue tracker integrations: you need to mention the work item ID in the comment message, so the work items can be linked to builds and the links will be displayed in various places in the TeamCity web UI.
Additionally, if your changeset has related work items, TeamCity can retrieve information about them and display information on the Issue Log tab even if no comment is added to the changeset. Besides, custom states for resolved work items are supported by TeamCity.
Specify the tracker connection name
Team Foundation Server URL in the following format:
Azure DevOps Services:
Specify a user to access Team Foundation Server. This can be a username or
Enter the password of the user entered above
Specify the work item id format in changeset comments in the form of regexp.
Learn more about authentication in Azure DevOps Services.
Custom Resolved States
In addition, resolved states in TeamCity can be customized by using the
teamcity.tfs.workItems.resolvedStates internal property set to
Closed?|Done|Fixed|Resolved?|Removed? by default.