<?xml version="1.0" encoding="utf-8"?>
This is the basic beginning to an XML file. Do not change it.
<AggregatorConfiguration>
AggregatorConfiguration: The main node for all the configuration options. (Single)
<runtime debug="False">
runtime: Configure generic behavior. (Once, Optional)
<rateLimiting interval="00:00:10.00" changes="10" />
rateLimiting: Define how Aggregator rejects incoming requests. (Once, Optional)
Use RateLimiting.policy to test your configuration on a server.
<logging level="Diagnostic"/>
logging: Define logging behavior. (Once, Optional)
Critical
Error
Warning
Information
or Normal
– default valueVerbose
Diagnostic
.
See the Help page for more information: TFS Aggregator Troubleshooting <script language="C#" />
script: Define script engine behavior. (Once, Optional)
CS
,CSHARP
,C#
– default valueVB
,VB.NET
,VBNET
PS
,POWERSHELL
– Experimental! <server baseUrl="http://localhost:8080/tfs" />
server: Define server configuration. (2.1, Once, Optional)
<authentication autoImpersonate="true" />
<authentication personalToken="abcd1234654sdfsfsdfs45645654645" />
<authentication username="user1" password="password1" />
authentication: Define authentication behavior. (Once, Optional)
false
(default) the TFS Service account, true
the user requesting. (Optional) <snippet name="MySnippet">
</snippet>
snippet: Represents a code macro rule. (2.2, Repeatable)
<function>
</function>
function: Contains methods callable from rules. (2.2, Repeatable)
<rule name="Noop" appliesTo="Task,Bug" hasFields="System.Title,System.Description">
</rule>
rule: Represents a single rule. (Repeatable)
New,Change,Delete,Restore
(default) what change event triggers the Rule. (WebHooks, Optional)self
($self
in PowerShell) variable contains the work item that triggered the plugin.
The self
($self
in PowerShell) variable contains the work item that triggered the plugin.We recommended using CDATA to wrap script code. See Scripting for additional details on Rules’ code.
<policy name="DefaultPolicy">
policy: Represent a set of aggregation rules that apply to a particular scope. (Repeatable)
All scopes must match for the policy to apply (logical and).
<collectionScope collections="DefaultCollection" />
collectionScope: Scope the policy to a list of collections. (Optional)
<templateScope name="Scrum" />
templateScope: Scope the policy to Team Projects using a particular Process Template. (Optional, Repeatable)
templateScope requires that name must be present.
<projectScope projects="Project1,Project2" />
projectScope: Scope the policy to listed Team Projects. (Optional)
<ruleRef name="Noop" />
ruleRef: Reference to a previously declared rule. (Repeatable)
Rules apply in order.