-
-
Notifications
You must be signed in to change notification settings - Fork 372
Description
I am encountering an error while migrating work items using Azure DevOps Migration Tools.
Some legacy work items contain hyperlinks in the Links tab that were once permitted but are no longer valid, for example:
annotation://app123456/***sdskudg547347andsomerandomid
At the time these were created, Azure DevOps allowed arbitrary URL formats. Today these protocols are considered unsafe, so the migration fails with the following error:
The URL specified has a potentially unsafe URL protocol. Please specify a different URL. The URL specified is: annotation://app123456/***sdskudg547347andsomerandomid.
URI schemes supported are: http, https, ftp, gopher, mailto, news, telnet, wais, vstfs, tfs, alm, mtm, mtms, mtr, mtrs, mfbclient, mfbclients, test-runner, x-mvwit, onenote, codeflow, file, tel, skype.
When this happens, the work item cannot be migrated and the process stops.
Proposed Change
Update the tool to handle unsupported or unsafe URL protocols gracefully. Instead of failing the entire migration, the tool should skip these links and continue processing the work item. This ensures that legacy work items with outdated URLs do not block the migration.
Request
Please update the migration logic so that invalid or unsafe hyperlinks are ignored during processing, allowing the work item itself to be migrated successfully.