BrilBroeder
BrilBroeder

Reputation: 1579

Work Items, Pull Requests menu not visible in Visual Studio

I'm using VSTS and Visual Studio enterprise on two different machines (both VS2015U3 on Win10). The project has a git-repository. On one machine I do have all expected menu's (https://www.visualstudio.com/en-us/docs/connect/work-team-explorer ) on the other some (pull requests, work items) are missing. On both machines editing code and commiting/synching works fine.

Any suggestions ?

Upvotes: 32

Views: 30676

Answers (7)

user3487850
user3487850

Reputation: 1

Just reconnect from Team Explorer again and you will be able to see all the options again.

Upvotes: 0

En Tools - Options - Preview Features Uncheck the option 'New git user experience'

Upvotes: 0

Ronak Patel
Ronak Patel

Reputation: 21

I had the same issue. I was not able to create a Pull Request from Visual Studio. This started happening when I changed my computer password. The solution is that you connect again with your project.

Upvotes: 0

Adam Cox
Adam Cox

Reputation: 3661

Steps using VS (Visual Studio) 2019:

  1. Manage Connections > Connect to a Project...
  2. Expand server, and project to find the repo you want, then
  3. If it is already cloned, "Connect" should be the default option - click it!

And why Microsoft doesn't just auto-magically do this bewilders me! I could sync and all, but no Pull-request until I jump through this little connect to the server/project/repo steps..

Upvotes: 5

Keenan Stewart
Keenan Stewart

Reputation: 634

This happened to me after I upgraded Visual Studio 2017 to 15.6.2. I was able to push my changed to the server, commit, sync, etc. but for some reason when I tried to make a Pull Request, that option was not listed in Team Explorer. I searched and found this solution to help out. Still unsure why I could push/sync, but could not do a pull request since it said I was not connected to the TFS server.

Once I reconnected, the Pull Request option re-appeared and I could make my Pull Request. Hope this help others.

Upvotes: 3

Deepesh Bajracharya
Deepesh Bajracharya

Reputation: 201

I had the same issue. It was resolved by re-connecting to the tfs-server. on VS 2017 Team Explorer go to 'Manage Connections' and 'Add Server'.

Upvotes: 10

starian chen-MSFT
starian chen-MSFT

Reputation: 33698

The reason is that you just connect to the local git repository and it likes this: enter image description here

You configured Remotes (Home=>Settings=>Repository Settings=>Remotes), so you can commit and sync.

Refer to these steps to connect to the remote repository.

  1. Go to Team Explorer
  2. Click Manage connections=>Connect to Team project enter image description here
  3. After that Open Solution in Solutions section (if it is empty, you need to clone this repository) enter image description here

Upvotes: 82

Related Questions