Reputation: 391
I'm using Visual Studio Online I have created a project A with PBI's that has many tasks inside them. I have now created a new project B and would like to move/copy/migrate the PBI's and tasks from project A to this project B. How do I achieve this.
Upvotes: 4
Views: 3461
Reputation: 365
It's 2020 now, and the answer, with Azure DevOps is yes, you most definitely can. See Azure boards documentation's "move work items, change work item type"
Upvotes: 0
Reputation: 2972
Using Excel won't let you copy a lot of stuff, particularly attachments.
A (slightly) better approach would be to use the OData interface at https://tfsodata.visualstudio.com/ to read work items and all their related data from project A, then insert into project B.
As of today though, the API is also quite limited (e.g. doesn't allow to create links between work items).
Upvotes: 3
Reputation: 3108
You can do this quite easily using the Excel integration feature.
In Project A, create a query that lists all your work items.
Open Microsoft Excel, go the TEAM tab.
Click 'New List', select your project, select 'Query List', select the query you just created.
In the Work Items tab select the 'Choose Columns' button and select all the columns you want to migrate.
Open another Excel Spreadsheet and create a 'New List'. This time connect to Project B and select the 'Input List'.
Copy and paste all the work items from Project A list to the Project B list (excluding the Id column).
Click Publish.
Upvotes: 6