TFS Work Item Synchronization

Microsoft.SystemCenter.TfsWISync.TfsServer.Template (Template)

This template links Operations Manager alerts and Team Foundation Server work items. When configured, operators can manually assign alerts to the engineering team. Assigning an alert to engineering creates a new Work Item in Team Foundation Server.

Source Code:

<Template ID="Microsoft.SystemCenter.TfsWISync.TfsServer.Template">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TemplateId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Links" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Url" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachinePoolClassId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachinePoolKeyPropertyValue" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LocaleId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SecureStorageId" type="xsd:string"/>
</Configuration>
<References>
<Reference ID="System"/>
<Reference ID="Self"/>
</References>
<Implementation>
<Monitoring>
<Discoveries>
<Discovery ID="Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimeDiscovery.$TemplateConfig/TemplateId$" Enabled="true" Target="$Reference/Self$Microsoft.SystemCenter.TfsWISync.ScomServer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer">
<Property PropertyID="DisplayName" TypeID="$Reference/System$System.Entity"/>
<Property PropertyID="Url" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Links" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Description" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="LocaleId" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonPoolDiscovery.DataSourceType">
<IntervalSeconds>3600</IntervalSeconds>
<Name>$TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
<Url>$TemplateConfig/Url$</Url>
<Links>$TemplateConfig/Links$</Links>
<LocaleId>$TemplateConfig/LocaleId$</LocaleId>
<MachinePoolClassId>$TemplateConfig/MachinePoolClassId$</MachinePoolClassId>
<MachinePoolKeyPropertyValue>$TemplateConfig/MachinePoolKeyPropertyValue$</MachinePoolKeyPropertyValue>
</DataSource>
</Discovery>
<Discovery ID="Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonDiscovery.$TemplateConfig/TemplateId$" Enabled="true" Target="$Reference/Self$Microsoft.SystemCenter.TfsWISync.ScomServer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer">
<Property PropertyID="DisplayName" TypeID="$Reference/System$System.Entity"/>
<Property PropertyID="Url" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Links" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Description" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="LocaleId" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimePoolDiscovery.DataSourceType">
<IntervalSeconds>3600</IntervalSeconds>
<Name>$TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
<Url>$TemplateConfig/Url$</Url>
<Links>$TemplateConfig/Links$</Links>
<LocaleId>$TemplateConfig/LocaleId$</LocaleId>
<MachinePoolClassId>$TemplateConfig/MachinePoolClassId$</MachinePoolClassId>
<MachinePoolKeyPropertyValue>$TemplateConfig/MachinePoolKeyPropertyValue$</MachinePoolKeyPropertyValue>
</DataSource>
</Discovery>
</Discoveries>
<Overrides>
<SecureReferenceOverride ID="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount.SecureOverride.$TemplateConfig/TemplateId$" Context="$Reference/System$System.Entity" ContextInstance="$TemplateConfig/InstanceId$" Enforced="true" SecureReference="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsAccessAccount">
<Value>$TemplateConfig/SecureStorageId$</Value>
</SecureReferenceOverride>
</Overrides>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="$TemplateConfig/LocaleId$">
<DisplayStrings>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimeDiscovery.$TemplateConfig/TemplateId$">
<Name>TFS Collection discovery ($TemplateConfig/Url$) - runtime pool</Name>
<Description>TFS Collection discovery managed by runtime pool</Description>
</DisplayString>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonDiscovery.$TemplateConfig/TemplateId$">
<Name>TFS Collection discovery ($TemplateConfig/Url$) - singleton pool</Name>
<Description>TFS Collection discovery managed by singleton pool</Description>
</DisplayString>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount.SecureOverride.$TemplateConfig/TemplateId$">
<Name>TFS Access Account override ($TemplateConfig/Url$)</Name>
<Description>TFS Access Account override ($TemplateConfig/Url$)</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</Implementation>
</Template>