Moving boards between projects - azure-devops

I need a little advice.
We have a few projects in Azure DevOps, and I need to move a Board and all it's work items, regardless of status, from one project into another project. So basically lifting and shifting it.
Is there an easy way to achieve this?

Moving boards between projects
You could use bulk move:
Create new query to select all work items Create and save managed queries with the query editor:
Select all work items in the query result and select move:
Select your new team project:
Save all work items.

Related

Restore the state my project was in 11/10/2021 into another temporary project, so I can only get the order of work items from Boards from that day

I want to restore the state my project was in 11/10/2021 into another temporary project (not the one I am currently using), so I can only grasp the order of work items from Backlogs from Boards for that day. I did not delete the project. I just changed the Area Paths for Teams and the order of work items changed. I just want to have a reference in a separate temporary project, so I can compare work items order between them and restore correct one to the actual backlog.
Doing something like this is going to be quite tricky, I think that the closest you will come to doing this will be to create a new project and then try to use the open-source migration tools at https://marketplace.visualstudio.com/items?itemName=nkdagility.vsts-sync-migration. We used an earlier version of this for an Azure DevOps carveout from another tenant, and it worked well, but we didn't have your "restore-to-point-in-time" use case.
I think that what you're going to need to do is use the ReplayRevisions on the WorkItemMigration class, and then you're probably going to need to write some custom WIQL to get only what you're looking for. It's even conceivable you might need to extend this to get the functionality you want.

Prebuilt Azure Devops Boards

Im happy with the Kanban side of Devops along with dashboards etc. The team is looking to try to roll out multiple projects, but all with the same Epics, Features, Backlog and Tasks etc etc ie a repeatable project. Although im fairly sure the answer is no, is there a way to build out a project with all the work items, and then copy this as a file, and when creating a new one, use this as the basis??
is there a way to build out a project with all the work items, and then copy this as a file, and when creating a new one, use this as the basis??
When you create new projects, you can use the same Process.
For copy the work items as the basis, I suggest that you can export Work items to excel , then when you can import the exported work items to new projects.
For more detailed info, you can refer to this doc: Bulk import or update work items using CSV files

Is there a possibility to create a Cross Project Roadmap in Azure DevOps?

Is there a possibility to track Work Items in Azure DevOps "Cross Project" wide?
So that I can get an overview over all e.g. Epics from all Projects and when they are due. (Cross Project Roadmap for specific work items).
I searched the extention Library and thought it might be able to do it over the API by pulling all work items and then combine it in an own tool.
Any Ideas would be appreciated.
You can create a query and and mark the "Query across projects" checkbox, then you will get a results from all the projects.
For example, a query for all done Epics in all the projects:
In this way you can query each work item field, save the queries and put the results on the dashboard, so you will have "cross projects roadmap".
Update on this Issue. The Azure DevOps Extention https://marketplace.visualstudio.com/items?itemName=ms-devlabs.workitem-feature-timeline-extension does basically what is needed. Not completely but in some sort.

Move Work Items to different project on Azure Devops

I am trying to move/copy my Work Items into a different project. I will need all the Epics, Features, User stories, Tasks, comments, links etc.
The steps given here show how to move a single work item, so my plan is to move my Epics which were only a handful and not have to move each and every user story/task. But unfortunately when the Epic is moved, the children are left behind.
Is there any other way to do this?
I saw this Excel solution, but doesn't look like its copying the comments.
You may use a bulk move:
Create new query to select your work items Create and save managed queries with the query editor:
Select all work items in the query result and select move:
Select your new team project:
Save all work items:

Visual Studio Online move PBI and tasks from one project to another

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.
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.
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).
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"