Skip Error and Continue Migration on TF26198: Unable to GetWorkItem with id[4601] During Azure DevOps Migration #2249
SathishkumarG3
announced in
Exceptions
Replies: 1 comment 6 replies
-
|
This is not a bug, but a question that belongs on dicsussion. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
{ "ChangeSetMappingFile": null, "Source": { "$type": "TfsTeamProjectConfig", "Collection": "xxxxxxxxxxxxx", "Project": "Americas", "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId", "AuthenticationMode": "AccessToken", "PersonalAccessToken": "xxxxxxxxxxxxx", "PersonalAccessTokenVariableName": "", "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" }, "CollectionName": "xxxxxxxxxxxxx/" }, "Target": { "$type": "TfsTeamProjectConfig", "Collection": "xxxxxxxxxxxxx", "Project": "neXus App", "ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId", "AllowCrossProjectLinking": true, "AuthenticationMode": "AccessToken", "PersonalAccessToken": "xxxxxxxxxxxxx", "PersonalAccessTokenVariableName": "", "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" }, "CollectionName": "xxxxxxxxxxxxx/" }, "FieldMaps": [], "GitRepoMapping": {}, "LogLevel": "Information", "CommonEnrichersConfig": [], "Processors": [ { "$type": "WorkItemMigrationConfig", "Enabled": true, "UpdateCreatedDate": true, "UpdateCreatedBy": true, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps', 'Shared Parameter', 'Feedback Request') AND [System.AreaPath] UNDER 'Americas\\neXus' AND [System.Id] NOT IN (4601, 116162) ORDER BY [System.ChangedDate] DESC", "FixHtmlAttachmentLinks": true, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": false, "PauseAfterEachWorkItem": false, "AttachRevisionHistory": false, "GenerateMigrationComment": false, "WorkItemIDs": null, "MaxGracefulFailures": 10, "SkipRevisionWithInvalidIterationPath": false, "SkipRevisionWithInvalidAreaPath": false } ], "Version": "15.1", "workaroundForQuerySOAPBugEnabled": false, "WorkItemTypeDefinition": { "sourceWorkItemTypeName": "targetWorkItemTypeName" }, "Endpoints": { "InMemoryWorkItemEndpoints": [ { "Name": "Source", "EndpointEnrichers": null }, { "Name": "Target", "EndpointEnrichers": null } ] } }Relevant log output
What happened?
Description:
We downloaded the MigrationTools-15.1.7-Preview.5 version file and changed the source and target details in the configuration JSON file. Then we ran the tool using
devopsmigration execute -c configuration.jsonfor migrating the source and target.While using the Azure DevOps Migration Tools version 15.1.7-Preview.5 to migrate work items, I encountered an error that halts the migration process. The error message is as follows:
I have already set "MaxGracefulFailures": 10, but the error is not being skipped. Here are some additional details from the log:
Configuration Details:
Request for Assistance:
How to Skip the Error and Continue Migration:
I have set "MaxGracefulFailures": 10, but the migration tool does not skip the error and continues with other work items. Could you please provide guidance on how to configure the tool to skip such errors and proceed with the migration?
How to Resolve the Error:
The error indicates that the work item does not exist or that I do not have permission to access it. I have verified the existence of the work item and the permissions, and they appear to be correct. What steps can I take to resolve this error?
Debug in Visual Studio
Beta Was this translation helpful? Give feedback.
All reactions