From 4b89d8ef56a1af45838b20edcec8464e2bf11d7d Mon Sep 17 00:00:00 2001 From: "Tom Bui [SSW]" <67776356+tombui99@users.noreply.github.com> Date: Thu, 25 Jan 2024 06:33:43 +1100 Subject: [PATCH] =?UTF-8?q?XS=E2=9C=94=20=E2=97=BE=20CodeAuditor=20-=20Fix?= =?UTF-8?q?=20broken=20content=20(#7828)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update rule.md * Auto-fix Markdown files * Update rule.md --------- Co-authored-by: github-actions[bot] Co-authored-by: Tiago Araújo [SSW] --- .../rule.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/rules/do-you-have-a-witadmin-script-to-import-work-item-definitions/rule.md b/rules/do-you-have-a-witadmin-script-to-import-work-item-definitions/rule.md index b112c39f9ea..4a5ac245ab3 100644 --- a/rules/do-you-have-a-witadmin-script-to-import-work-item-definitions/rule.md +++ b/rules/do-you-have-a-witadmin-script-to-import-work-item-definitions/rule.md @@ -13,8 +13,10 @@ redirects: [] --- -You will need to update your work item types very frequently once the customization process is started, make sure you have a script like below in your solution, this will help you to upload your process template quickly with one click, which make your development more efficient. +You will need to update your work item types very frequently once the customization process is started, make sure you have a script like below in your solution, this will help you to upload your process template quickly with one click, which make your development more efficient. + +``` bash ECHO OFF ECHO \*\*\*\*\*\*\*\*\*\*\*Importing new definitions\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ECHO ON @@ -28,5 +30,8 @@ ECHO ON witadmin importwitd /collection:http://%1:8080/tfs/%2 /p:%3 /f:"..\CN.SAC.TfsProcessTemplate\WorkItem Tracking\TypeDefinitions\Requirement.xml" witadmin importwitd /collection:http://%1:8080/tfs/%2 /p:%3 /f:"..\CN.SAC.TfsProcessTemplate\WorkItem Tracking\TypeDefinitions\Task.xml" witadmin importwitd /collection:http://%1:8080/tfs/%2 /p:%3 /f:"..\CN.SAC.TfsProcessTemplate\WorkItem Tracking\TypeDefinitions\Issue.xml" Figure: quick -deployment script for process template – UpdateProcessTemplate.bat With above script, you can execute the command like below UpdateProcessTemplate.bat <serverAddress> -<collectionName> <projectName>So, just one command, all of your customized work item types will be updated on the server. +deployment script for process template – UpdateProcessTemplate.bat With above script, you can execute the command like below UpdateProcessTemplate.bat + +``` + +So, just one command, all of your customized work item types will be updated on the server.