在TFS中,使用者無法直接刪除WorkItem,如果你建立錯誤的項目時,或許你想刪除,可以使用下列方式刪除(Ref MSDN),或將此項目Assign其他工作內容也可以。
To list fields that are not being used by any work item type
- Open a Command Prompt window.
- Change to the directory that contains the work item types that you want to list, by typing the following command and then pressing Enter.
cd ..Drive:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE - List the fields that are no longer being used by any work item types by typing the following command at the command prompt, and then pressing Enter.
列出未使用到的WorkItem:witadmin listfields /collection:http://ServerName:Port/VirtualDirectoryName/CollectionName /unused - 刪除指定的WorkItem名稱
- witadmin deletefield /collection:http://ServerName:Port/VirtualDirectoryName/CollectionName /n:FieldName
沒有留言:
張貼留言