Skip to content

ITicketField

Defined in: tickets/fields.types.ts:12

A ticket field definition, either a system field or a custom one.

optional active?: boolean | null

Defined in: tickets/fields.types.ts:14

Whether this field is available.


optional agent_description?: string | null

Defined in: tickets/fields.types.ts:16

A description of the ticket field that only agents can see.


optional collapsed_for_agents?: boolean | null

Defined in: tickets/fields.types.ts:18

If true, the field is shown to agents by default. If false, the field is hidden alongside infrequently used fields. Classic interface only.


optional created_at?: string | null

Defined in: tickets/fields.types.ts:20

The time the custom ticket field was created.


optional custom_field_options?: unknown[] | null

Defined in: tickets/fields.types.ts:22

Required and presented for a custom ticket field of type “multiselect” or “tagger”.


optional custom_statuses?: unknown[] | null

Defined in: tickets/fields.types.ts:24

List of customized ticket statuses. Only presented for a system ticket field of type “custom_status”.


optional description?: string | null

Defined in: tickets/fields.types.ts:26

Describes the purpose of the ticket field to users.


optional editable_in_portal?: boolean | null

Defined in: tickets/fields.types.ts:28

Whether this field is editable by end users in Help Center.


optional id?: number | null

Defined in: tickets/fields.types.ts:30

Automatically assigned when created.


optional position?: number | null

Defined in: tickets/fields.types.ts:32

The relative position of the ticket field on a ticket. Note that for accounts with ticket forms, positions are controlled by the different forms.


optional raw_description?: string | null

Defined in: tickets/fields.types.ts:34

The dynamic content placeholder if present, or the description value if not. See Dynamic Content.


optional raw_title?: string | null

Defined in: tickets/fields.types.ts:36

The dynamic content placeholder if present, or the title value if not. See Dynamic Content.


optional raw_title_in_portal?: string | null

Defined in: tickets/fields.types.ts:38

The dynamic content placeholder if present, or the “title_in_portal” value if not. See Dynamic Content.


optional regexp_for_validation?: string | null

Defined in: tickets/fields.types.ts:40

For “regexp” fields only. The validation pattern for a field value to be deemed valid.


optional relationship_filter?: Record<string, unknown> | null

Defined in: tickets/fields.types.ts:42

A filter definition that allows your autocomplete to filter down results.


optional relationship_target_type?: string | null

Defined in: tickets/fields.types.ts:44

A representation of what type of object the field references. Options are “zen:user”, “zen:organization”, “zen:ticket”, or “zen:custom_object:CUSTOM_OBJECT_KEY”. For example “zen:custom_object:apartment”.


optional removable?: boolean | null

Defined in: tickets/fields.types.ts:46

If false, this field is a system field that must be present on all tickets.


optional required?: boolean | null

Defined in: tickets/fields.types.ts:48

If true, agents must enter a value in the field to change the ticket status to solved.


optional required_in_portal?: boolean | null

Defined in: tickets/fields.types.ts:50

If true, end users must enter a value in the field to create the request.


optional sub_type_id?: number | null

Defined in: tickets/fields.types.ts:52

For system ticket fields of type “priority” and “status”. Defaults to 0. A “priority” sub type of 1 removes the “Low” and “Urgent” options. A “status” sub type of 1 adds the “On-Hold” option.


optional system_field_options?: unknown[] | null

Defined in: tickets/fields.types.ts:54

Presented for a system ticket field of type “tickettype”, “priority” or “status”.


optional tag?: string | null

Defined in: tickets/fields.types.ts:56

For “checkbox” fields only. A tag added to tickets when the checkbox field is selected.


title: string | null

Defined in: tickets/fields.types.ts:58

The title of the ticket field.


optional title_in_portal?: string | null

Defined in: tickets/fields.types.ts:60

The title of the ticket field for end users in Help Center.


type: string | null

Defined in: tickets/fields.types.ts:62

System or custom field type. Editable for custom field types and only on creation. See Create Ticket Field.


optional updated_at?: string | null

Defined in: tickets/fields.types.ts:64

The time the custom ticket field was last updated.


optional url?: string | null

Defined in: tickets/fields.types.ts:66

The URL for this resource.


optional visible_in_portal?: boolean | null

Defined in: tickets/fields.types.ts:68

Whether this field is visible to end users in Help Center.