MATCH Element (Work Item Type Definition Schema)
Defines a pattern that values of String type fields must match.
<xs:element name="MATCH" type="PatternRule"/>
<MATCH pattern="pattern to match" for="user name" not="user name" />
The following sections describe attributes, child elements, and parent elements.
Attributes
|
Attribute |
Description |
|---|---|
|
for |
Optional PlainRule attribute. The name of a user or group to whom this rule applies. |
|
not |
Optional PlainRule attribute. The name of a user or group to whom this rule does not apply. |
|
pattern |
Required PatternRule attribute. Enforces basic pattern matching for strings only. Valid values are "A," "N," or "X." All other values are taken as literals. "A" represents an alphabetical character. "N" represents a numeric character. "X" represents any alphanumeric character. |
Child Elements
None
Parent Elements
|
Element |
Description |
|---|---|
|
Required element. References a work item field definition and the rules and conditions that apply to the field. The reference is based on the STATE, TRANSITION, DEFAULTREASON, or REASON element that its parent FIELDS element is a child of. |
|
|
Required element. Defines a work item field and specifies the rules and conditions that apply to it. |