Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 Git Team Explorer has no "Related Work Items" section in the Changes pane

This page describes linking a work item to a commit in VS. I just updated my VS to make sure I have the latest stuff, it's VS2015 update 3, but I don't have a Related Work Items section in my Changes pane. We are using VSTS and I can work with Git just fine, and I can even link items to commits using the # syntax and that works, but seeing a list would be more useful.

I cloned the repository manually, and it shows up in "Local Git Repositories" in the Connect pane, which makes me think something isn't "hooked up" to VSTS within VS2015. Is there a way to facilitate that connection, or do I just need to re-clone it not through the CLI?

like image 956
Josh Avatar asked Aug 08 '16 21:08

Josh


People also ask

How do I add Team Explorer to Visual Studio?

If you open Visual Studio and the Team Explorer pane doesn't appear, choose the View>Team Explorer menu option from the tool bar.

How do I see changes in Git Visual Studio?

Select an existing branch in Visual Studio 2019Visual Studio displays the current branch in the selector at the top of the Git Changes window. The current branch is also available in the status bar on the bottom-right corner of the Visual Studio IDE. From both locations, you can switch between existing branches.

How do you check changes in TFS?

In the team explorer open up the source control tab, then right click on the route folder and select Check in Pending Changes. This will check in all the files over all the solutions/projects that you have underneath the root. Repeat the process for any other team collections you have used.


1 Answers

This is because Team Explorer isn't connected to the project. You don't need to re-clone it, connecting to the project from Team Explorer via following steps should fix it:

  1. Click "Manage Connections" link. enter image description here
  2. Select the project of your Git repository and then click "Connect" in the pop up dialog.

Now when you go to "Changes", you should see the "Related Work Items" section: enter image description here

like image 63
Eddie Chen - MSFT Avatar answered Sep 28 '22 01:09

Eddie Chen - MSFT