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
FYI: Kind of an odd situation but I have a source work item with a huge rich text description and a couple hundred revisions that is causing the pre-migration json upload to fail. I'll get around this by not attaching it for this one work item but thought you might want to know. I suppose the code could split the json into multiple files when overly large if you wanted to fix it.
[11:26:02 INF] [16.3.0] ===============================================================
[11:26:02 ERR] [16.3.0] Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachment(AttachmentInfo fi)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachments()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreSave()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PreSave(WorkItem[] workItems)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags)
at MigrationTools.TfsExtensions.SaveToAzureDevOps(WorkItemData context) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\TfsExtensions.cs:line 83
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.ReplayRevisions(List`1 revisionsToMigrate, WorkItemData sourceWorkItem, WorkItemData targetWorkItem) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 844
[11:26:02 INF] [16.3.0] ===============================================================
[11:26:02 ERR] [16.3.0] Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachment(AttachmentInfo fi)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachments()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreSave()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PreSave(WorkItem[] workItems)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags)
at MigrationTools.TfsExtensions.SaveToAzureDevOps(WorkItemData context) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\TfsExtensions.cs:line 83
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 598
Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachment(AttachmentInfo fi)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.UploadAttachments()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreSave()
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.PreSave(WorkItem[] workItems)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.SaveWorkItems(WorkItem[] workitems, Boolean bulk, SaveFlags saveFlags)
at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags)
at MigrationTools.TfsExtensions.SaveToAzureDevOps(WorkItemData context) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\TfsExtensions.cs:line 83
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 598
[11:26:02 ERR] [16.3.0] Could not save migrated work item XXXXX, an exception occurred.
System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 648
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 200
---> (Inner Exception #0) Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 648<---
[11:26:02 WRN] [16.3.0] The following items could not be migrated: XXXXX
[11:26:02 FTL] [16.3.0] Error while running TfsWorkItemMigrationProcessor
System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 648
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 226
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
---> (Inner Exception #0) Microsoft.TeamFoundation.WorkItemTracking.Client.FileAttachmentException: TF237082: The file you are trying to upload (PROJECT-IDXXXXX-R209-PreMigrationHistory.json) exceeds the supported file upload size (60 MB(s)). Instead of uploading the file, add the file to version control or to the team project web site, and then link the file to the work item.
at MigrationTools.Processors.TfsWorkItemMigrationProcessor.d__31.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsWorkItemMigrationProcessor.cs:line 648<---
[11:26:03 INF] [16.3.0] TfsWorkItemMigrationProcessor completed in 00:00:00
[11:26:03 ERR] [16.3.0] TfsWorkItemMigrationProcessor The Processor MigrationEngine entered the failed state...stopping run
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
FYI: Kind of an odd situation but I have a source work item with a huge rich text description and a couple hundred revisions that is causing the pre-migration json upload to fail. I'll get around this by not attaching it for this one work item but thought you might want to know. I suppose the code could split the json into multiple files when overly large if you wanted to fix it.
Beta Was this translation helpful? Give feedback.
All reactions