question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ValidationException: TF237124: Work Item is not ready to save

See original GitHub issue

The errors are getting too obscure for me to debug simply by reading and applying common sense.

I have checked that both source and destination accounts have a project using TFVC and custom CMMI. I have checked that the work items in the custom CMMIs are identical with no missing fields. I have checked the area paths are similar (given differences in project name). I have checked the default and custom teams are present and that the custom team has project default area as default area including sub-areas (same as source). I have deleted the destination project and started from scratch, twice.

These lines seem pertinent: WorkItemMigrationContext: 1 - Invalid: 801-Task-System.AreaPath WorkItemMigrationContext: 1 - Invalid: 801-Task-System.IterationPath WorkItemMigrationContext: …FAILED to Save

There is a date used that doesn’t exist: Revised Date: 01/01/9999 00:00:00

Error: WorkItemMigrationContext: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF237124: Work Item is not ready to save at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags) at VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 125

Excerpt from output:

λ vstssyncmigrator.exe execute -c vstsbulkeditor.json [Info]: vstssyncmigrator [Info]: Running version detected as 7.5.37.0 [Info]: Telemitery Enabled: True [Info]: SessionID: 2e1c3173-1be5-40d1-b82b-77cdeba7cb8e

`WorkItemMigrationContext: 1 - Migrating: 801-Task WorkItemMigrationContext: … BuildingWorkItemMigrationContext: Dependancy: TeamService - NewWorkItem - 18/06/2018 15:16:54 - 00:00:00 - True WorkItemMigrationContext: FieldMapOnNewWorkItem: 18/06/2018 15:16:54 - 00:00:00 Runnin Field Map: MultiValueConditionalMap [SKIPPED] Not all source and target fields exist Runnin Field Map: FieldBlankMap Runnin Field Map: FieldValueMap [UPDATE] field set to default value 801:System.State to 0:System.State Runnin Field Map: FieldToFieldMap Runnin Field Map: FieldToTagFieldMap [UPDATE] field tagged 801:System.State to 0:Tag with foramt of ScrumState:{0} Runnin Field Map: FieldMergeMap [UPDATE] field merged 801:System.Description+Microsoft.VSTS.Common.AcceptanceCriteria to 0:System.Description Runnin Field Map: RegexFieldMap Runnin Field Map: FieldValuetoTagMap Runnin Field Map: TreeToTagFieldMap WorkItemMigrationContext: 1 - Invalid: 801-Task-System.AreaPath WorkItemMigrationContext: 1 - Invalid: 801-Task-System.IterationPath WorkItemMigrationContext: …FAILED to Save WorkItemMigrationContext: agileIoNswAgile.ReflectedWorkItemId | https://tindall.visualstudio.com/NetScribe/_workitems/edit/801 WorkItemMigrationContext: Microsoft.VSTS.CMMI.RequiresTest | No WorkItemMigrationContext: Microsoft.VSTS.CMMI.RequiresReview | No WorkItemMigrationContext: Microsoft.VSTS.CMMI.TaskType | Planned WorkItemMigrationContext: Microsoft.VSTS.CMMI.Blocked | No WorkItemMigrationContext: Microsoft.VSTS.Common.Discipline | WorkItemMigrationContext: Microsoft.VSTS.Common.Triage | Pending WorkItemMigrationContext: Microsoft.VSTS.Common.AcceptanceCriteria | WorkItemMigrationContext: Microsoft.VSTS.Scheduling.FinishDate | WorkItemMigrationContext: Microsoft.VSTS.Scheduling.StartDate | WorkItemMigrationContext: Microsoft.VSTS.Build.IntegrationBuild | WorkItemMigrationContext: Microsoft.VSTS.Common.StackRank | 1000000000 WorkItemMigrationContext: Microsoft.VSTS.Common.Priority | 2 WorkItemMigrationContext: Microsoft.VSTS.Common.ClosedBy | WorkItemMigrationContext: Microsoft.VSTS.Common.ClosedDate | WorkItemMigrationContext: Microsoft.VSTS.Common.ResolvedReason | Investigate WorkItemMigrationContext: Microsoft.VSTS.Common.ResolvedBy | Ayman Moukhtar WorkItemMigrationContext: Microsoft.VSTS.Common.ResolvedDate | WorkItemMigrationContext: Microsoft.VSTS.Common.ActivatedBy | Ayman Moukhtar WorkItemMigrationContext: Microsoft.VSTS.Common.ActivatedDate | WorkItemMigrationContext: Microsoft.VSTS.Common.StateChangeDate | WorkItemMigrationContext: Microsoft.VSTS.Scheduling.CompletedWork | WorkItemMigrationContext: Microsoft.VSTS.Scheduling.OriginalEstimate | 1 WorkItemMigrationContext: Microsoft.VSTS.Scheduling.RemainingWork | 1 WorkItemMigrationContext: System.BoardLane | WorkItemMigrationContext: System.BoardColumnDone | WorkItemMigrationContext: System.BoardColumn | WorkItemMigrationContext: System.Tags | ;ScrumState:Resolved WorkItemMigrationContext: System.RelatedLinkCount | 0 WorkItemMigrationContext: System.History |

Comments from previous work item:

 

Fields from previous Work Item:

ReflectedWorkItemId:
Requires Test: No
Requires Review: No
Task Type: Planned
Blocked: No
Discipline:
Triage: Pending
Acceptance Criteria:
Finish Date: null
Start Date: null
Completed Work: null
Original Estimate: 1
Resolved Reason: Investigate
Resolved By: Ayman Moukhtar
Resolved Date: 24/02/2017 17:16:44
Activated By: Ayman Moukhtar
Activated Date: 24/02/2017 17:16:39
State Change Date: 24/02/2017 17:16:44
Stack Rank: 1000000000
Priority: 2
Closed By:
Closed Date: null
Remaining Work: 1
Integration Build:
Board Lane:
Board Column Done: null
Board Column:
Tags:
Related Link Count: 1
History:
Description:
Created By: karim mostafa
Created Date: 27/12/2016 17:34:49
Work Item Type: Task
Assigned To: Ayman Moukhtar
Reason: Complete and Requires Review/Test
Changed By: Ayman Moukhtar
Rev: 10
Watermark: 6613
Authorized Date: 24/02/2017 17:16:44
State: Resolved
Title: Ensure the system must capture the UTC date and time when an auditable event occurs
Authorized As: Unknown user
Area ID: 81779
ID: 801
Changed Date: 24/02/2017 17:16:44
Revised Date: 01/01/9999 00:00:00
Area Path: NetScribe
Node Name: NetScribe
Attached File Count: 0
Hyperlink Count: 0
Team Project: NetScribe
External Link Count: 0
Iteration ID: 81779
Iteration Path: NetScribe

 

Migrated by VSTS/TFS Sync Migration Tool open source.

WorkItemMigrationContext: System.Description |

Acceptance Criteria

##DONE## WorkItemMigrationContext: System.CreatedBy | karim mostafa WorkItemMigrationContext: System.CreatedDate | 27/12/2016 17:34:49 WorkItemMigrationContext: System.WorkItemType | Task WorkItemMigrationContext: System.AssignedTo | Ayman Moukhtar WorkItemMigrationContext: System.Reason | Complete and Requires Review/Test WorkItemMigrationContext: System.ChangedBy | Ayman Moukhtar WorkItemMigrationContext: System.Rev | WorkItemMigrationContext: System.Watermark | WorkItemMigrationContext: System.AuthorizedDate | WorkItemMigrationContext: System.State | New WorkItemMigrationContext: System.Title | Ensure the system must capture the UTC date and time when an auditable event occurs WorkItemMigrationContext: System.AuthorizedAs | WorkItemMigrationContext: System.AreaId | 288 WorkItemMigrationContext: System.Id | 0 WorkItemMigrationContext: System.ChangedDate | 24/02/2017 17:16:44 WorkItemMigrationContext: System.RevisedDate | WorkItemMigrationContext: System.AreaPath | NetScribeWeb\NetScribe WorkItemMigrationContext: System.NodeName | NetScribeWeb WorkItemMigrationContext: System.AttachedFileCount | 0 WorkItemMigrationContext: System.HyperLinkCount | 0 WorkItemMigrationContext: System.TeamProject | NetScribeWeb WorkItemMigrationContext: System.ExternalLinkCount | 0 WorkItemMigrationContext: System.IterationId | 288 WorkItemMigrationContext: System.IterationPath | NetScribeWeb\NetScribe WorkItemMigrationContext: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF237124: Work Item is not ready to save at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags) at VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:line 125 WorkItemMigrationContext: Average time of 0:322 seconds per work item and 0 hours 0 minutes 0:000 seconds estimated to completion WorkItemMigrationContext: DONE in 0 hours 4 minutes 39:733 seconds - 858 Items, 0 Imported, 0 Skipped, 858 Failures vstssyncmigrator.exe Information: 0 : Migration Context Complete WorkItemMigrationContext [Info]: Run complete... [Info]: -------------------------------END------------------------------ [Info]: Duration: 00:04:40.2184607 [Info]: End Time: 18/06/2018 15:12:14`

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
umellcommented, Jun 19, 2018

this is the one that does areas and iteration paths “VstsSyncMigrator.Engine.Configuration.Processing.NodeStructuresMigrationConfig”,

1reaction
umellcommented, Jun 19, 2018

Hello there, I am seeing a similar issue. I am migrating a project from TFS to VSTS. The source and destination have different projects so when I use the NodeStructureMigrationConfig processor, I set the PrefixProjectToNodes as false.

Then when I move on to migrating the workitems using the WorkItemRevisionReplayMigrationConfig processor I get the above mentioned error on some of my work items. But if I use WorkItemMigrationConfig processor I don’t get any errors with the Area / Iteration paths

Read more comments on GitHub >

github_iconTop Results From Across the Web

TF237124: Work Item is not ready to save at Microsoft. ...
I am trying to migrate work items type Product backlog item to another project as User story. TF237124: Work Item is not ready...
Read more >
TF237124: Work Item is not ready to save
The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.
Read more >
FAQ | Azure DevOps Migration Tools
Work items are not migrated. Maybe you see a TF237124: Work Item is not ready to save error when you attempt to do...
Read more >
Avoiding TF237124 when Creating Work Items in New Areas
Creating a work item using the TFS API is simple, just connect to TFS, ... ValidationException: TF237124: Work Item is not ready to...
Read more >
Work Item is not ready to save - TF237124
Reason: TF237124: Work Item is not ready to save. Changeset 96462 successfully checked in. We are running Visual Studio 2015, and TFS 2014....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found