When Team Foundation publishes tasks from Microsoft Project, the field data is copied from Microsoft Project to the work item database. Also, when tasks are refreshed, the field data is copied from the work item database to Microsoft Project. For the field data to be copied correctly, the field type in the work item database, and the field type in Microsoft Project must be compatible. The following table lists which Microsoft Project field types are compatible with the individual work item field types:
| Work Item Field Type | Microsoft Project Field Type |
| Integer | Work, units, numbers, and any field type with a range of -2,147,483,648 to 2,147,483,647. |
| Double | Work, units, percentages, fractions, and any field type with a range of ±5.0 × 10−324 to ±1.7 × 10308. |
| String | Text (maximum of 255 characters.) |
| DateTime | Datetime. |
| TreePath | Custom outline codes. |
| Html | Not Supported. |
| PlainText | Not Supported. |
| History | Not Supported. |
For more information about work item field types, see Field Types. For more information about Microsoft Project field types, see the help about the pjField constant in the Microsoft Office 2003 Software Development Kit.