Class that describes a request to add a field in a work item type.

interface AddProcessWorkItemTypeFieldRequest {
    allowedValues?: string[];
    allowGroups?: boolean;
    defaultValue?: any;
    readOnly?: boolean;
    referenceName?: string;
    required?: boolean;
}

Properties

allowedValues?: string[]

The list of field allowed values.

allowGroups?: boolean

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

defaultValue?: any

The default value 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.