The command in this example reads the file myworkitem.xml, validates the work item type it contains, and imports the validated work item to the AdventureWorks team project on the Team Foundation AdventureWorksServer. This example imports the work item type using the default UTF-8 encoding.
|
>witimport /f myworkitem.xml /t AdventureWorksServer /p AdventureWorks |
The following example shows a command that uses a URL instead of a Team Foundation Server name. This example imports the work item type using the default UTF-8 encoding.
|
>witimport /f myworkitem.xml /t http://TFS:8080/bis/registration.asmx /p AdventureWorks |
The following example validates and imports the work item using Unicode (utf-7) encoding.
|
>witimport /f myworkitem.xml /t AdventureWorksServer /p AdventureWorks /e utf-7 |
The following example validates the work item type in the file myworkitem.xml without importing it. This example validates the work item type using the default UTF-8 encoding.
|
>witimport /f myworkitem.xml /t AdventureWorksServer /p AdventureWorks /v |