launchdarkly-labs / project-migrator-script

Migrate Project Information from one account to another
3 stars 7 forks source link

Migrating into an already existing project with environments that differ from the source project will break the script #5

Closed durw4rd closed 1 year ago

durw4rd commented 1 year ago

If one creates the target project manually while not making sure the new project's environment configuration matches exactly the situation in the old/source project, the script will fail with 400 errors. image

A low-effort fix would be calling out in the README file that one should not be creating the target project manually but instead leave this for the script.

cgreenld commented 1 year ago

Hey, we want to avoid the "merge project scenario" if you want to take a look at my solutions I added a PR here: https://github.com/launchdarkly-labs/project-migrator-script/pull/7