Audience: Operators.
Scenario files are pre-built configuration examples in the scenarios/ folder. They represent common migration patterns and can be used as-is or customised.
| File | Description |
|---|---|
queue-export-ado-workitems-single-project.json |
Export work items from a single ADO project |
queue-import-ado-workitems-single-project.json |
Import work items to a single ADO project |
queue-migrate-ado-workitems-single-project.json |
Full migrate (Export + Prepare + Import) for a single ADO project |
- Export only — use an
exportscenario when you want to extract data from the source without importing yet. - Import only — use an
importscenario when you have an existing package and want to push it to a target. - Migrate — use a
migratescenario for a full end-to-end run. - TFS source — select a scenario with
tfsin the name; these are routed to the TFS Migration Agent automatically.
-
Copy the scenario file to your working directory:
Copy-Item scenarios\queue-export-ado-workitems-single-project.json migration.json -
Edit the copied file to set your org URLs, project names, and token environment variable names.
-
Set your environment variables:
$env:SOURCE_PAT = "your-pat" $env:TARGET_PAT = "your-pat"
-
Run:
devopsmigration queue --config migration.json --follow
- Always copy the scenario — never edit the original in
scenarios/. - Change
Source.Url,Source.Project,Target.Url,Target.Projectto match your environment. - Change
Package.WorkingDirectoryto a path with sufficient disk space. - Do not change
ConfigVersionunless you are explicitly upgrading the schema. - Add or remove modules in the
Modulessection to control what is exported/imported.
By default, scenarios target a single project. For multi-project migrations, run separate jobs per project, each with its own WorkingDirectory.
Set Mode in the config to control what the job does:
| Mode | Phases run |
|---|---|
Inventory |
Inventory only |
Export |
Inventory → Export |
Prepare |
Prepare |
Import |
Prepare → Import |
Migrate |
Inventory → Export → Prepare → Import → Validate |
See migration-process-guide.md for phase details.