With this post, I want start a new category: TFS Integration…
For a project I had to create some TFS Work Items programmatically using the TFS API. However saving the work item resulted in the following error message:
TF237124: Work Item is not ready to save
This error message doesn’t give any useful information. What’s important to know is that you can configure a lot of rules before a work item is valid. It’s important to validate the WorkItem prior to save. The validate() method will return an arraylist of invalid fields.
This will give you all the information you need to know why this workitem cannot be saved (In this case I have 3 invalid fields; in the following image, for example, U have the “Backlog Priority” field with an invalid value).