microsoft / process-migrator

Process migrator node.js utility for VSTS inherited process
MIT License
97 stars 53 forks source link

Error - #61

Open gpolegato opened 3 years ago

gpolegato commented 3 years ago

I receive the error when trying to migrate an inherited process. I have provided the configuration contents (removed personal settings) below. I copied and pasted the URL from the ADO site, so am wondering is it supposed to be something different. I have been unable to find any examples of a filled out configuration file.

[Configuration validation] Missing or invalid source account url: 'Required in 'export'/'migrate' mode, source account url.'

{ "sourceAccountUrl": "https://dev.azure.com/MyOrganizationName/Test01", "sourceAccountToken": "[Copied from Azure DevOps when created]", "targetAccountUrl": "https://dev.azure.com/MyOrganizationName/Test02", "targetAccountToken": "[Copied from Azure DevOps when created]", "sourceProcessName": "NewTemplate", "targetProcessName": "Set to override process name on import, remove from param name", "options": { "processFilename": "Set to override default export file name, remove from param name", "logLevel":"Set to override default log level (Information), remove from param name", "logFilename":"Set to override default log file name, remove from param name", "overwritePicklist": false } }

mauricionit commented 3 years ago

It "worked" for me with the organization, not "https://dev.azure.com/MyOrganizationName/Test01" but "https://dev.azure.com/MyOrganizationName" @gpolegato