This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FIELDS> | |
. . . | |
<FIELD name="Team" refname="MinhaEmpresa.Team" type="String" reportable="dimension"> | |
<HELPTEXT>Name of the Project.</HELPTEXT> | |
<ALLOWEXISTINGVALUE /> | |
<ALLOWEDVALUES > | |
<GLOBALLIST name="Teams" /> | |
</ALLOWEDVALUES > | |
<DEFAULT from="value" value="Não Cadastrado" /> | |
</FIELD> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<gl:GLOBALLISTS xmlns:gl="http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/globallists"> | |
<GLOBALLIST name="Teams"> | |
<LISTITEM value="Não cadastrado" /> | |
<LISTITEM value="01234 - Projeto XYZ" /> | |
<LISTITEM value="98765 - Projeto ABC" /> | |
<LISTITEM value="Projeto de teste" /> | |
</GLOBALLIST> | |
</gl:GLOBALLISTS> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
witadmin exportwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /n:"User story" /f:c:\YTemp\TeamfieldCustom\UserStory.xml | |
witadmin exportwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /n:"Bug" /f:c:\YTemp\TeamfieldCustom\Bug.xml | |
witadmin exportwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /n:"Task" /f:c:\YTemp\TeamfieldCustom\Task.xml | |
witadmin exportwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /n:"Test Plan" /f:c:\YTemp\TeamfieldCustom\TestPlan.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
witadmin importwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /f:c:\YTemp\TeamfieldCustom\UserStory.xml | |
witadmin importwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /f:c:\YTemp\TeamfieldCustom\Bug.xml | |
witadmin importwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /f:c:\YTemp\TeamfieldCustom\Task.xml | |
witadmin importwitd /collection:http://localhost:8080/tfs/DefaultCollection /p:"Minha empresa OTP" /f:c:\YTemp\TeamfieldCustom\TestPlan.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
witadmin importgloballist /collection:"http://localhost:8080/tfs/DefaultCollection" /f:c\YTemp\TeamfieldCustom\globallist.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
witadmin exportgloballist /collection:"http://localhost:8080/tfs/DefaultCollection" /f:c\YTemp\TeamfieldCustom\globallist.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
witadmin exportprocessconfig /collection:"http://localhost:8080/tfs/DefaultCollection" /p:"Minha Empresa OTP" /f:c:\YTemp\TeamfieldCustom\ProcessConfiguration.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TypeFields> | |
(...) | |
<TypeField refname="MinhaEmpresa.Team" type="Team" /> | |
</TypeFields> | |
<RequirementBacklog category="Microsoft.RequirementCategory" parent="Microsoft.FeatureCategory" pluralName="Stories" singularName="User Story"> | |
<AddPanel> | |
<Fields> | |
<Field refname="System.Title" /> | |
<Field refname="MinhaEmpresa.Team" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param( | |
[parameter(Mandatory=$false)][string] $CollectionUrlParam = $(Read-Host -prompt "Collection URL"), | |
[parameter(Mandatory=$false)][string] $TeamProjectParam = $(Read-Host -prompt "Team Project"), | |
[parameter(Mandatory=$true)][String] $GlobalListName = $(Read-Host -prompt "Project List"), | |
[parameter(Mandatory=$true)][String] $GlobalEntryValue = $(Read-Host -prompt "New project name") | |
) | |
$pathToAss2 = "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0" | |
$pathToAss4 = "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v4.5" | |
Add-Type -Path "$pathToAss2\Microsoft.TeamFoundation.Client.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
witadmin exportcategories /collection:%1 /p:%2 /f:categories.xml | |
witadmin exportprocessconfig /collection:%1 /p:%2 /f:process.xml | |
witadmin listwitd /collection:%1 /p:%2 > wits.txt | |
FOR /F "eol=, tokens=*" %%i in (wits.txt) DO witadmin exportwitd /collection:%1 /p:%2 /n:"%%i" /f:"%%i".xml |
OlderNewer