Details of a field that can be used in advanced searches.

interface FieldReferenceData {
    auto?: "false" | "true";
    cfid?: string;
    deprecated?: "false" | "true";
    deprecatedSearcherKey?: string;
    displayName?: string;
    operators?: string[];
    orderable?: "false" | "true";
    searchable?: "false" | "true";
    types?: string[];
    value?: string;
}

Properties

auto?: "false" | "true"

Whether the field provide auto-complete suggestions.

cfid?: string

If the item is a custom field, the ID of the custom field.

deprecated?: "false" | "true"

Whether this field has been deprecated.

deprecatedSearcherKey?: string

The searcher key of the field, only passed when the field is deprecated.

displayName?: string

The display name contains the following:

  • for system fields, the field name. For example, Summary.
  • for collapsed custom fields, the field name followed by a hyphen and then the field name and field type. For example, Component - Component[Dropdown].
  • for other custom fields, the field name followed by a hyphen and then the custom field ID. For example, Component - cf[10061].
operators?: string[]

The valid search operators for the field.

orderable?: "false" | "true"

Whether the field can be used in a query's ORDER BY clause.

searchable?: "false" | "true"

Whether the content of this field can be searched.

types?: string[]

The data types of items in the field.

value?: string

The field identifier.