This path is not anchored in the source project #1680
-
Hi, i want to migrate the workitem of a project including their revision (ReplayRevisions : true). This fact seems to lead to a "This path is not anchored in the source project" exception. Any ideas? Versions Info: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As per the documentation, you need to add Iteration Maps and Area Maps that adapt the old locations to new ones that are valid in the Target. Before your migration starts it will validate that all of the Areas and Iterations from the Source work items revisions exist on the Target. Any that do not exist will be flagged in the logs and if you have Our algorithm that converts the Source nodes to Target nodes processes the mappings at that time. This means that any valid mapped nodes will never be caught by the
To add a mapping, you can follow the documentation with this being the simplest way:
Or you can use regular expressions to match the missing area or iteration paths:
If you want to use the matches in the replacement you can use the following:
If the olf iteration path was Regular expressions are much more difficult to build and debug so it is a good idea to use a regular expression tester to check that you are matching the right things and to build them in ChatGTP. NOTE: You need |
Beta Was this translation helpful? Give feedback.
As per the documentation, you need to add Iteration Maps and Area Maps that adapt the old locations to new ones that are valid in the Target.
Before your migration starts it will validate that all of the Areas and Iterations from the Source work items revisions exist on the Target. Any that do not exist will be flagged in the logs and if you have
"StopMigrationOnMissingAreaIterationNodes": true,
set the migration will stop just after it outputs a list of the missing nodes.Our algorithm that converts the Source nodes to Target nodes processes the mappings at that time. This means that any valid mapped nodes will never be caught by the
This path is not anchored in the source project
messag…