如何一次编辑几个智慧? [英] How to edit several wits at one time?
问题描述
问题是,当我发现某个字段需要更改为只读时,我必须更改其他20个项目中的特定字段。通过这种方式,我必须从服务器打开机智20次。
The problem is when I found a field need to be changed to readonly , I have to change the particular field in other 20 projects. In this way , I have to open wit from server 20 times.
有没有办法将我的1项目更改应用到其他项目?
Is there any way to apply my change of 1 project to other projects?
推荐答案
嗨!
您可以使用witadmin
https://www.visualstudio.com/en-us/docs/work/reference/witadmin/witadmin-import-export - 管理智慧
You can use witadmin https://www.visualstudio.com/en-us/docs/work/reference/witadmin/witadmin-import-export-manage-wits
1。更改一个项目中的字段
1. Change field in one project
2。导出机智
witadmin exportwitd /collection:http://AdventureWorksServer:8080/tfs/DefaultCollection /p:AdventureWorks /f:myworkitems.xml /n:myworkitem
3。导入到另一个项目
3. Import to another project
witadmin importwitd /collection:http://AdventureWorksServer:8080/tfs/DefaultCollection /f:myworkitem.xml /p:NextProject
您也可以创建cmd文件来自动执行该操作。
Also you can create cmd file to automate that.
这篇关于如何一次编辑几个智慧?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!