Search code examples
tfsazure-devopsopshub

OpsHub Migration of items with attachment fails (Bad Gateway)


I try to migrate my Work-Items from TFS 2012 to VSO using the OpsHub migration tool. I get the following error for multiple items (all items with attachment):

OH-TFS-Connector-0017: Could not load attachment with URL http://server:8081/tfs/*/WorkItemTracking/v1.0/AttachFileHandler.ashx?FileID=1359&FileName=Attachment.zip. Server Error : OH-TFS-Connector-0051: Operation failed getAttachmentInputStream. Server Error : The remote server returned an error: (502) Bad Gateway.

how can I fix this? And is it possible to "migrate" some items manually and tell the program that I migrated it?


Solution

  • As a workaround I downloaded the attachments manually and then deleted them from the work items. The migration will then be able to continue. Afterwards manually update the attachments to the affected work items.