Monday, June 27, 2016

Integrating TeamCity with Visual Studio Online Work Items

If you want to integrate Jetbrains TeamCity with Visual Studio Online Work Items, unfortunately, TeamCity does not provide this functionality out-of-the-box.

However, you can still link these 2 systems together using a TeamCity plugin as outlined in this article: https://blog.jetbrains.com/teamcity/2014/11/integrating-teamcity-and-visual-studio-online-work-items/

You can obtain the Visual Studio Online Work Items plugin from here: https://confluence.jetbrains.com/display/TW/Visual+Studio+Online+Work+Items

Reading the article is a bit confusing as to where to obtain the plugin, so I am providing the direct link here: https://teamcity.jetbrains.com/project.html?projectId=TeamCityPluginsByJetBrains_VisualStudioOnlineIssueTrackin

You then have to click on the link for "Artifacts" and then download the .zip file appropriate to your version of TeamCity.

 Once you upload the Visual Studio Online plugin and re-start your TeamCity Server and TeamCity Build Agent, you should see a screen similar to the following:




Then, once you go into your Project and select Issue Trackers, you should now have an option for Visual Studio Team Services:


Next, you can simply add your settings for Visual Studio Online:



You should then fill out the screen with information similar to the following:


Finally, you can test the connection to make sure all of your settings are valid and you should get a result similar to the following:



Finally, your newly configured Issue Tracker with Visual Studio Online Work Items should show up in TeamCity like this:


No comments:

Post a Comment