This application provide you ability to automate the [Process](https://docs.microsoft.com/en-us/vsts/work/customize/process/manage-process?view=vsts) export/import across VSTS accounts through Node.js CLI.
- --mode: Optional, default as 'migrate'. Mode of the execution, can be 'migrate' (export and then import), 'export' (export only) or 'import' (import only).
- --config: Optional, default as './configuration.json'. Specify the configuration file.
"sourceAccountUrl": "Source account url. Required in export/migrate mode, ignored in import mode.",
"sourceAccountToken": "!!TREAT AS PASSWORD!! In Azure DevOps click on user settings personal access tokens an generate a token for source account. Required in export/migrate mode, ignored in import mode.",
"targetAccountUrl": "Target account url. Required in import/migrate mode, ignored in export mode.",
"targetAccountToken": "!!TREAT AS PASSWORD!! In Azure DevOps click on user settings personal access tokens and generate a token for target account. Required in import/migrate mode, ignored in export mode.",
"sourceProcessName": "Source process name to export. Required in export/migrate mode, ignored in import mode.",
"logFilename":"Optional, file name for log. defaulted to 'output/processMigrator.log'.",
"overwritePicklist": "Optional, default to 'false'. Set as true to overwrite picklist if exists on target or import will fail when picklist entries varies across source and target.",
- If extensions used by source account are not available in target account, import MAY fail
1) Control/Group/Page contributions on work item form are by default imported, so it will fail if the extension is not available on target account. use 'skipImportFormContributions' option to skip importing custom controls.
- If identities used in field default value or rules are not available in target account, import WILL fail
1) For rules you may use 'continueOnRuleImportFailure' option to proceed with rest of import when such error is occurred.
2) For identity field default value, you may use 'continueOnFieldDefaultValueFailure' option to proceed with rest of import when such error is occurred.