Represents a clause in a work item query. This shows the structure of a work item query.

interface WorkItemQueryClause {
    clauses?: WorkItemQueryClause[];
    field?: WorkItemFieldReference;
    fieldValue?: WorkItemFieldReference;
    isFieldValue?: boolean;
    logicalOperator?: LogicalOperation;
    operator?: WorkItemFieldOperation;
    value?: string;
}

Properties

Child clauses if the current clause is a logical operator

Field associated with condition

Right side of the condition when a field to field comparison

isFieldValue?: boolean

Determines if this is a field to field comparison

logicalOperator?: LogicalOperation

Logical operator separating the condition clause

The field operator

value?: string

Right side of the condition when a field to value comparison