File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
TfsWitMigrator.Core/Execution/MigrationContext Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -85,16 +85,15 @@ internal override void InternalExecute()
8585
8686 try
8787 {
88+ newwit . Fields [ "System.CreatedDate" ] . Value = sourceWI . Fields [ "System.CreatedDate" ] . Value ;
8889 newwit . Save ( ) ;
8990 Trace . WriteLine ( string . Format ( "...Saved as {0}" , newwit . Id ) ) ;
90- newwit . Fields [ "System.CreatedDate" ] . Value = sourceWI . Fields [ "System.CreatedDate" ] . Value ;
91- Trace . WriteLine ( string . Format ( "...And Date Created Updated" ) ) ;
9291 if ( sourceWI . Fields . Contains ( me . ReflectedWorkItemIdFieldName ) )
9392 {
9493 sourceWI . Fields [ me . ReflectedWorkItemIdFieldName ] . Value = targetStore . CreateReflectedWorkItemId ( newwit ) ;
9594 }
96- newwit . Save ( ) ;
97-
95+ sourceWI . Save ( ) ;
96+ Trace . WriteLine ( string . Format ( "...and Source Updated {0}" , sourceWI . Id ) ) ;
9897 }
9998 catch ( Exception ex )
10099 {
You can’t perform that action at this time.
0 commit comments