Monday, January 16, 2012 1:41 PM
We migrating all bugs from an old system to TFS 2010. Is it possible to change the createDate and ActivationDate?
When I try to change the field:
workItem.CreatedDate = date;
I get the following error:
Property or indexer 'Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.CreatedDate' cannot be assigned to -- it is read only
Tuesday, January 17, 2012 8:47 PM
From you experience in wrokitem, you cannot change the created date filed in TFS, even using API's it's read only field.
Regards Ayman Zaza MCTS
- Proposed As Answer by 2re Wednesday, January 25, 2012 9:04 AM
Wednesday, January 18, 2012 6:51 AMModerator
Wednesday, January 25, 2012 9:08 AM
I was able to change the creation date by updating the DB directly.
- Marked As Answer by Billy_mk Wednesday, January 25, 2012 9:08 AM
Wednesday, April 04, 2012 12:48 PMCan you share your query used to update your DB?