|
I am attempting to migrate work items from our old ticket tracking system into VSTS using the Excel integration feature (from Team Explorer, right-click on Work Items folder and select "Add Work Items with Microsoft Excel"). I have exported the work item data from the old ticket tracking system and converted values to match those expected by VSTS and can paste the data into Excel, matching the data to the proper columns (all cols added from Team menu).
The problem is that when I attempt to publish the work items to VSTS, I encounter many field validation problems stemming from the fact that these are not "new" work items. For example, the State of most of the work items I would like to migrate is actually "Closed" but the only value allowed for State by Excel/VSTS is "Active". I also would like to make a couple fields editable that are currently read-only (Created By and Created Date).
I note that I can turn off the validation warnings within Excel itself, but the publication process still enforces the data validation. So, what I'm looking for is a way to disable or adjust the data validation that is applied during the publication of new work items from Excel to VSTS. After successful migration, I will reinstate the original validation.
Is there a way? Or should I give up on Excel and code a custom import using the work item object model? Any advice greatly appreciated. |