ITicketField
Defined in: tickets/fields.types.ts:12
A ticket field definition, either a system field or a custom one.
Properties
Section titled “Properties”active?
Section titled “active?”
optionalactive?:boolean|null
Defined in: tickets/fields.types.ts:14
Whether this field is available.
agent_description?
Section titled “agent_description?”
optionalagent_description?:string|null
Defined in: tickets/fields.types.ts:16
A description of the ticket field that only agents can see.
collapsed_for_agents?
Section titled “collapsed_for_agents?”
optionalcollapsed_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.
created_at?
Section titled “created_at?”
optionalcreated_at?:string|null
Defined in: tickets/fields.types.ts:20
The time the custom ticket field was created.
custom_field_options?
Section titled “custom_field_options?”
optionalcustom_field_options?:unknown[] |null
Defined in: tickets/fields.types.ts:22
Required and presented for a custom ticket field of type “multiselect” or “tagger”.
custom_statuses?
Section titled “custom_statuses?”
optionalcustom_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”.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: tickets/fields.types.ts:26
Describes the purpose of the ticket field to users.
editable_in_portal?
Section titled “editable_in_portal?”
optionaleditable_in_portal?:boolean|null
Defined in: tickets/fields.types.ts:28
Whether this field is editable by end users in Help Center.
optionalid?:number|null
Defined in: tickets/fields.types.ts:30
Automatically assigned when created.
position?
Section titled “position?”
optionalposition?: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.
raw_description?
Section titled “raw_description?”
optionalraw_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.
raw_title?
Section titled “raw_title?”
optionalraw_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.
raw_title_in_portal?
Section titled “raw_title_in_portal?”
optionalraw_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.
regexp_for_validation?
Section titled “regexp_for_validation?”
optionalregexp_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.
relationship_filter?
Section titled “relationship_filter?”
optionalrelationship_filter?:Record<string,unknown> |null
Defined in: tickets/fields.types.ts:42
A filter definition that allows your autocomplete to filter down results.
relationship_target_type?
Section titled “relationship_target_type?”
optionalrelationship_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”.
removable?
Section titled “removable?”
optionalremovable?:boolean|null
Defined in: tickets/fields.types.ts:46
If false, this field is a system field that must be present on all tickets.
required?
Section titled “required?”
optionalrequired?: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.
required_in_portal?
Section titled “required_in_portal?”
optionalrequired_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.
sub_type_id?
Section titled “sub_type_id?”
optionalsub_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.
system_field_options?
Section titled “system_field_options?”
optionalsystem_field_options?:unknown[] |null
Defined in: tickets/fields.types.ts:54
Presented for a system ticket field of type “tickettype”, “priority” or “status”.
optionaltag?: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.
title_in_portal?
Section titled “title_in_portal?”
optionaltitle_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.
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string|null
Defined in: tickets/fields.types.ts:64
The time the custom ticket field was last updated.
optionalurl?:string|null
Defined in: tickets/fields.types.ts:66
The URL for this resource.
visible_in_portal?
Section titled “visible_in_portal?”
optionalvisible_in_portal?:boolean|null
Defined in: tickets/fields.types.ts:68
Whether this field is visible to end users in Help Center.