Common Backlog in TFS - tfs

I moved from Jira to TFS. In TFS Source code for multiple projects are stored. I can only see the option to create work items against a project. This then appear in the project backlog. I need to have a common backlog for all these projects. Cant see such an option. The version I am using is
Microsoft Visual Studio Team Foundation Server
Version 16.122.27102.1
What is the best way to achieve this

i think the only way would be to have one big project in which you are than working with Teams.
Here is a Microsoft example:
https://learn.microsoft.com/en-us/vsts/work/scale/multiple-teams?view=vsts

Related

Migrate visual studio team services to tfs

I'd like to know if it's possible to migrate from a Visual Studio Team Services to a local Team Foundation Server. I've seen many questions about the reveser process but not this.
I know I can download source code from VSTS and upload it manually to TFS, but I'd like to keep as many work items and project structure as possible.
You can try with TFS Integration Platform, it may have some errors but can work. Refer to this link for details: Migrate VSO to on premises TFS.

Sync TFS workitems so same WI is shown in two team projects

Our team has an a TFS project in which we keep all the teams work. Sometimes some from our team are involved in another project that has it's own TFS project. The tasks that the people from our team does on the other project are in their own area.
Is there a tool that would support synchronizing work items between projects and keep all fields the same value except Area and Iteration? Area would be statically mapped to some value and iteration would live it's own live in each project.
We use the same project template for all team projects.
There are a number of commercial tools, most notably TaskTop, to allow you to sync work items between projects. I have seen TaskTop work well in quite a few circumstances.
The TFS Integration Tool is a free tool provided by the TFS product team that can do synchronisation of work items.

Can a TFS Product Backlog Item be moved to a new project?

I have a PBI in TFS under ProjectA with an iteration and area value filled in. Is it possible to move this PBI to ProjectB without creating a new PBI?
I am not seeing a way in the Visual Studio UI to do this. If I try to manually type in the area path of ProjectB, Visual Studio says that the path cannot be found.
I am using Team Foundation Server 2013 and Visual Studio Ultimate 2013.
No. Work items cannot be moved between team projects.
The reason is simple: The process template of the team project defines the work items. Team projects can have different templates. What if you tried to move a work item from a team project using a Scrum template to one using a CMMI template?
I would go a little deeper and say that if you need this feature then you should not have two Team Projects in the first place.
http://nakedalm.com/one-team-project/
The term that I use is:
"If you have artifacts that interact, with artifacts defined as people, code, or work items, then they should be in a single Team Project"
http://nakedalm.com/creating-nested-teams-visual-studio-alm/
Using a single Team Project can give you many more capabilities at the backlog/ work tracking perspective. Like the nested teams described above.
EDIT: This does not work for TFS2017 and forwards.
Yes, see http://www.codeproject.com/Tips/1018002/Yes-You-Can-Move-TFS-WorkItems-Between-Projects for a downloadable utility, source and a more detailed explaination.
It is a backdoor, SQL Manager approach, not supported by Microsoft, but it works for me. Here is the SQL:
UPDATE [Tfs_xxx].[dbo].[WorkItemsAre] SET AreaID=#AreaID,IterationID=#IterationID WHERE ID=#WorkItemID
UPDATE [Tfs_xxx].[dbo].[WorkItemsLatest] SET AreaID=#AreaID,IterationID=#IterationID WHERE ID=#WorkItemID
UPDATE [Tfs_xxx].[dbo].[WorkItemsWere] SET AreaID=#AreaID,IterationID=#IterationID WHERE ID=#WorkItemID
With the Tfs_xxx being replaced with Tfs_<your collection database name>.
Essentially, the project is inherited from the Area and the Iteration. Changing these from the current project to the target project causes the workitem to "move" to the target project. Additional rough edges are that the assignment pool or the workflow states might not align and have to be edited mannually in the UI to get the workitem back in the flow of the target project.
See my related answer.
Though not applicable to TFS on-premise, one can now do this with Azure Boards in Azure DevOps.

TFS from Solution A showing pending changes from Solution B - using team foundation services

I'm using Team Foundation Services to manage two different solutions. They're both in DefaultCollection. If I open up Solution A in visual studio and make a change, Solution B shows this pending change in Team Explorer. Is this intended behavior? Can I change this so that the instance of VS with Solution B doesn't see anything from Solution A? It's concerning because I'm worried that files from SA are getting added to SB.
Welcome to the world of TFS Workspaces. The files in Solution A are not actually being added to Solution B but in Visual Studio what you are seeing is a list of all the files that are currently checked out in that TFS Workspace on your machine. This behaviour is by design (and actually can be very helpful if you happen to edit some files outside of Visual Studio).
Jesse has an excellent write up on how to separate out these things if you want to. Basically you can define a separate TFS workspace for each solution.
<shameless_plug>For more information on TFS workspaces you might also want to check out the Professional Team Foundation Server 2012 book.</shameless_plug>

TFS 2010 team project Migration

Is there any way to move/migrate team projects of a Team project collection from one TFS server to another (both in TFS 2010 version). The destination Team Project collection contains a Team Project already and I want to move the source Team projects in to this particular team projects. So at the end I will have a Team Project which contains several projects in it. Is that possible? I want the history to be preserved as well.
If the above scenario is not possible, can I migrate Team projects from one server to another without going through the database backup-restore-TFS detach-attach process?
I thought of trying the TFSIntegration tool, but could see many people advised to avoid using this due to issues in it.
So if you have any information in accomplishing this, that would be great..
If you want all the history then you really only have 2 options:
TFS Integration platform - http://tfsintegration.codeplex.com/
Back up /restore the collection database - http://msdn.microsoft.com/en-us/library/dd936138.aspx#Backup
I would recommend moving the database. This sounds pretty onerous but is actually quite easy.
Good Luck!
TFS INTEGRATION PLATFORM used for integration.
A tool which helps a lot named "witAdminUi".

Resources