Share via


WorkItemQuery Element (wiq Schema)

Contains the work item query definition.

Schema Hierarchy

WorkItemQuery Element (wiq Schema)

<WorkItemQuery Version="version number">
    <Wiql />
    <TeamFoundationServer />
    <TeamProject />
</WorkItemQuery>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

Version

Required WorkItemQuery attribute.

The query version number. Must be an integer.

Child Elements

Element Description

Wiql

Required element.

Contains the work item query language commands that define the query.

TeamFoundationServer

Optional element.

Specifies the Team Foundation Server on which to run the query.

TeamProject

Optional element.

Specifies the team project for which to run the query.

Parent Elements

None.

Remarks

WorkItemQuery is the root element of the wiq schema.

minOccurs="1"

maxOccurs="1"

Element Information

Namespace

None

Schema Name

Wiq Schema

Validation File

wiq.xsd

Type

WorkItemQuery

Can be Empty

No

See Also

Tasks

How to: Add a Query to a Process Template
Process Template Schemas Download

Reference

Wiql Element (wiq Schema)