Udostępnij za pośrednictwem


NOTSAMEAS Element (Work Item Type Definition Schema)

Specifies another field that must not have a value that is identical to the value of the current field.

<xs:element name="NOTSAMEAS" type="FieldRule"/>

Attributes and Elements

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.

field

Required FieldRule attribute.

The reference name of the field where the rule is applied. The reference name must match the reference name defined in the field definition's FIELD element. For more information, see FIELD Element (WORKITEMTYPE Element).

Child Elements

None

Parent Elements

Element

Description

FIELD Element (WORKFLOW)

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.

FIELD Element (WORKITEMTYPE Element)

Required element.

Defines a work item field and specifies the rules and conditions that apply to it.

Remarks

NOTSAMEAS is an optional child element of FIELD (Work Item Type Definition Schema) and FIELD (WORKITEMTYPE element).

Example

<NOTSAMEAS for="user or group name" not="user or group name" field="field reference name"/>

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

FieldRule Complex Type (Work Item Type Definition Schema)

Can Be Empty

Not applicable

See Also

Concepts

Available Field Rules

Other Resources

Defining Field Rules