Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

READONLY Element (Work Item Type Definition Schema)

Defines the field as read-only.

<xs:element name="READONLY" type="PlainRule"/>

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.

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.

READONLY is an optional child element of FIELD (Work Item Type Definition Schema) and FIELD (WORKITEMTYPE element). Do not use this element together with the EMPTY Element because EMPTY also makes a field read-only. Using both elements together produces inconsistent results.

<READONLY for="user or group name" not="user or group name" />

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

PlainRule Complex Type (Work Item Type Definition Schema)

Can Be Empty

Not applicable

Community Additions

ADD
Show:
© 2015 Microsoft