You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing the following issue migrating my workitems across two different DevOps Organizations.
I don't need to modify my workitems during the migration, I just need to copy them AS IS.
migration.exe Information: 0 : Access granted
WorkItemRevisionReplayMigrationContext: Found target project as ABC
migration.exe Warning: 0 : [EXCEPTION] System.ArgumentNullException: Value cannot be null.
Parameter name: name
at Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection.Contains(String name)
at Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection.Contains(String fieldName)
at VstsSyncMigrator.Engine.WorkItemStoreContext.FindReflectedWorkItem(WorkItem workItemToFind, String reflectedWotkItemIdField, Boolean cache) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\ComponentContext\WorkItemStoreContext.cs:line 105
at VstsSyncMigrator.Engine.WorkItemRevisionReplayMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemRevisionReplayMigrationContext.cs:line 91
at VstsSyncMigrator.Engine.MigrationContextBase.Execute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\MigrationContextBase.cs:line 35
MigrationEngine: The Processor WorkItemRevisionReplayMigrationContext entered the failed state...stopping run
[Info]: Run complete...
[Info]: -------------------------------END------------------------------
[Info]: Duration: 00:00:02.9628098
[Info]: End Time: 16/04/2019 8:38:16 PM
Any help would be really appreciated.
Regards
The text was updated successfully, but these errors were encountered:
hi, I had the same issue, and the following solution helped:
you should define "ReflectedWorkItemIDFieldName" property in configuration.json file.
E.g. "ReflectedWorkItemIDFieldName": "Source Item URL"
The property value should be either a real custom field in the target project or just any existing field with type of 'string' (as workaround - not sure about correctness).
If you don't want to create a custom field, it seems to be enough to define 'ReflectedWorkItemIDFieldName' as any existing DevOps string field, say 'Title'. It won't overwrite migrated title, but source code 'accepts' it and doesn't throw an exception. Though the code throws an exception if you use a number field, say "ID".
Hi All,
I'm facing the following issue migrating my workitems across two different DevOps Organizations.
I don't need to modify my workitems during the migration, I just need to copy them AS IS.
This is the config file I'm using:
and this is the output:
Any help would be really appreciated.
Regards
The text was updated successfully, but these errors were encountered: