I have an Azure Devops 2019 project with 2200 workitems, I expected this to take less then a few hours. However, it took the migration tool over 3 days to complete. Is this a normal migration duration or could there be something wrong with either our setup or maybe with the tool?
I have found there are some gaps in the logging where it doesnt seem to do anything
10:33:35 WotrkItemQuery: keyToFiund: XXX
10:33:55 [Test Case] [Complete: 1606/2215] work item has 2 revisions and revision migration is set to True
10:44:16: [Test Case] [Complete 1606/2215] Found 2 revisions to migrate on Work Item:XXX
The length of migration for each work item depends on:
It's not uncommon for 2k work items to turn into 20k saves, or even 200k if you have rollup addons for your TFS. I have seen it take 3 seconds per work item, and also 30 seconds.
In addition, when Azure DevOps detects that you are making a lot of calls it may actively introduce Rate Limits to the process to protect the services of other users. This is normal, and there is no way around it, nor should there be. Your migration should never take president over production users. You can see your usage and any rate limits applied by going to
/_settings/usage
on your Org.We have added a few features since the tool was launched in 2016 to help speed up the process:
FilterWorkItemsThatAlreadyExistInTarget
to minimise the number of items that are processed, but not that this prevents the changes being brought across.Options for Speeding it up:
ReplayRevisions
tofalse
to only write the latest, and you can useCollapseRevisions
set totrue
to attach a JSON with the history.