Class that describes a field in a work item type and its properties.

interface ProcessWorkItemTypeField {
    allowedValues?: any[];
    allowGroups?: boolean;
    customization?: CustomizationType;
    defaultValue?: any;
    description?: string;
    isLocked?: boolean;
    name?: string;
    readOnly?: boolean;
    referenceName?: string;
    required?: boolean;
    type?: FieldType;
    url?: string;
}

Properties

allowedValues?: any[]

The list of field allowed values.

allowGroups?: boolean

Allow setting field value to a group identity. Only applies to identity fields.

customization?: CustomizationType

Indicates the type of customization on this work item.

defaultValue?: any

The default value of the field.

description?: string

Description of the field.

isLocked?: boolean

Information about field definition being locked for editing

name?: string

Name of the field.

readOnly?: boolean

If true the field cannot be edited.

referenceName?: string

Reference name of the field.

required?: boolean

If true the field cannot be empty.

type?: FieldType

Type of the field.

url?: string

Resource URL of the field.