The metadata describing an issue field for createmeta.

interface FieldCreateMetadata {
    allowedValues?: unknown[];
    autoCompleteUrl?: string;
    configuration?: {
        [key: string]: unknown;
    };
    defaultValue?: unknown;
    fieldId: string;
    hasDefaultValue?: boolean;
    key: string;
    name: string;
    operations: string[];
    required: boolean;
    schema: JsonTypeBean;
}

Properties

allowedValues?: unknown[]

The list of values allowed in the field.

autoCompleteUrl?: string

The URL that can be used to automatically complete the field.

configuration?: {
    [key: string]: unknown;
}

The configuration properties.

defaultValue?: unknown

The default value of the field.

fieldId: string

The field id.

hasDefaultValue?: boolean

Whether the field has a default value.

key: string

The key of the field.

name: string

The name of the field.

operations: string[]

The list of operations that can be performed on the field.

required: boolean

Whether the field is required.

schema: JsonTypeBean

The data type of the field.