顯示具有 TFS 標籤的文章。 顯示所有文章
顯示具有 TFS 標籤的文章。 顯示所有文章

2011年11月12日 星期六

刪除TFS WorkItem

在TFS中,使用者無法直接刪除WorkItem,如果你建立錯誤的項目時,或許你想刪除,可以使用下列方式刪除(Ref MSDN),或將此項目Assign其他工作內容也可以。

To list fields that are not being used by any work item type

  1. Open a Command Prompt window.
  2. 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
  3. 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
  4. 刪除指定的WorkItem名稱
  5. witadmin deletefield /collection:http://ServerName:Port/VirtualDirectoryName/CollectionName /n:FieldName

2011年10月4日 星期二

修正TFS Report 報表更新速度

最近因為把VSTS 灌在localhost
主要是測試它的需求管理與發展是否與CMMI的吻合程度
結果發現他的報告並非即時性的
間格的秒數,讓我很不耐煩。
下面是依據MSDN找出的解決方法:

1.使用TFSSETUP帳號登入系統。

2.在 Internet Explorer 中,開啟下列 URL:
http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx
只能在本機上執行URL。
隨即開啟一個頁面,其中包含兩個標記為 [settingID] 和 [newValue] 的方塊。

3.在標記為 [settingID] 的方塊中,輸入 IncrementalProcessIntervalSeconds

4.在標記為 [newValue] 的方塊中,輸入新的間隔時間 (以秒為單位)。

5.按一下 [叫用] (Invoke) 以變更設定。

6.由於是呼叫WebService,所以只能在本機端執行。