Iterations always default to first project & can't select current project - visual-studio

I'm using the Team Foundation Service (TFS in the cloud) for source control. Within my account I have multiple projects. Via the website I can see that the first project has the default Release & Sprint hierarchy set. I have another project that I've created some releases & sprints. In the web admin I've also setup different areas for my project.
Within Visual Studio 2012, when I go to create a task (TEAM > NEW TASK), it always shows the AREA=[FirstProject] and the ITERATION options as only the [FirstProject]. I can't change the area to a different area or the iteration. It acts like Visual Studio is "stuck" within the [FirstProject] and won't let me get to any of my other projects when working with tasks & backlog items. However I can create tasks in the web client. Within Visual Studio I can also run queries and find tasks.
So, I'm trying to figure out how to make sure I can use Visual Studio 2012 to create & manage tasks and not have to go to the website each time. It acts stuck on one project. Ideas?
Note I'm not having issues with any of the other source control issues... it's just an issue with working with tasks.

In the "Team Explorer" in Visual Studio 2012 you can select the Team Project you need by clicking on:
"Home | [FirstProject]", "Projects", and selecting a different one.
Also, in Visual Studio 2012.2 (Update 2) there is also a "Plug" looking icon at the top of Team Explorer, this allows access to many Servers, Collections and Team Projects from a panel in Team Explorer instead of a menu.

Related

How does Visual Studio determine which process template to use when creating a project in VSTS?

I have a VSTS account for which the default process template is set to "Agile".
Looking at my projects, it seems that the ones that were created through the web interface are set to "Agile", but the ones that were created by clicking the "Publish to VSTS" button in Visual Studio Team Explorer are all set to "Scrum".
I can't find a setting anywhere in Visual Studio - and there are many settings - that looks as if it might influence this behaviour.
As noted elsewhere (Visual Studio Team Services: How to migrate from Agile to Scrum process template), changing process template once a project has been created is a non-trivial task, and certainly not one I'd like to undertake in this particular context, which is that of a conference talk.
This turns out to be a bug which will be addressed in a future update, I will attempt to add to this answer then. (Source: https://twitter.com/DonovanBrown/status/955889345755480064)

VSTS work items not showing in Visual Studio

I am using Visual Studio Team Services for a project. I created the project on the VSTS website (using the SCRUM template), and successfully added my source code to the project's source control in Visual Studio 2015 Community. I am able to check in source code, so that part is fine.
Then, on the VSTS website, I added some Backlog Items, and added some tasks to them. I then went back to Visual Studio, and went to Team Explorer, and looked in both the "My Work" and the "Work Items" sections, and my Backlog Items are not showing up, even after refreshing.
What am I missing?
You are missing nothing. What you are experiencing is expected. You need create a New Query under Work items section, then query PBI work items.
Also, check my reply in this case, which explains why you not see work items in My Work section.

Deleting Visual Studio Team Services team project not behaving as expected

I have deleted several team projects from Team Services using the Collection Administration Page like this:
However, the deleted projects still show up in Source Control Explorer in Visual Studio:
....I expect Source Control Explorer to be a reflection of Team Services. What am I missing?
Looking at that screenshot you just need to refresh your workspace. there are a lot of pending adds and the Services project is greyed out meaning that is not mapped.
If you refresh the source tree does the project disappear?
You have to refresh the source control explorer and the server connection in the team explorer. VS will not realize changes in Team Services if you don't ask specifically for it (meaning that changes aren't pushed automatically to the clients).

Connect to Team Server on launch of VS?

I deal with multiple Team Foundation Servers and collections. Is there a command line I can send to VS so I don't have to manually switch between the TFS servers every time I launch VS?
The way I do it is use the start page from Visual Studio. It lists my recent projects and you can even pin them so they do not scroll out of view when you do not use them for a while.
Activating a project from the start page will automatically connect your Visual Studio environment to the correct TFS collection, because the solution you open is bound to one of them.
Works like a charm!

TFS 2010- Sharepoint 2010 Project Portal

I have TFS 2010 integrated with share-point 2010, inside the project portal i try to add a new task but there is no start date neither due date ?
is that normal ? how can i add these fields ?
It is normal I'm afraid, the web page view of a Work Item is usually identical to the view of the same item in Visual Studio. For some reason these fields are hidden.
You have 2 options. You can change the Work Item template on your Team Project so that these fields are not hidden, or you can use the Office integration features of Team Explorer.
To edit the template you'll need the TFS 2010 power tools.
To use Office integration you'll need Team Explorer installed, plus either Excel 2007+ or MS Project 2007+. Project automaticaly hooks in to the start and due date, with excel you can select which fields you want to view and sync with TFS

Resources