Skip to content

node-zendesk / Exports / clients/core/ticketfields

Module: clients/core/ticketfields

Table of contents

Classes

Type Aliases

Type Aliases

TicketField

Ƭ TicketField: Object

Type declaration

NameTypeDescription
activeboolean- Whether this field is available
agent_descriptionstring- A description of the ticket field that only agents can see
collapsed_for_agentsboolean- If true, the field is shown to agents by default. If false, the field is hidden alongside infrequently used fields. Classic interface only
created_atstring- The time the custom ticket field was created
creator_app_namestring- Name of the app that created the ticket field, or a null value if no app created the ticket field
creator_user_idnumber- The id of the user that created the ticket field, or a value of "-1" if an app created the ticket field
custom_field_optionsany[]- Required and presented for a custom ticket field of type "multiselect" or "tagger"
custom_statusesany[]- List of customized ticket statuses. Only presented for a system ticket field of type "custom_status"
descriptionstring- Describes the purpose of the ticket field to users
editable_in_portalboolean- Whether this field is editable by end users in Help Center
idnumber- Automatically assigned when created
positionnumber- 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_descriptionstring- The dynamic content placeholder if present, or the description value if not. See Dynamic Content
raw_titlestring- The dynamic content placeholder if present, or the title value if not. See Dynamic Content
raw_title_in_portalstring- The dynamic content placeholder if present, or the "title_in_portal" value if not. See Dynamic Content
regexp_for_validationstring- For "regexp" fields only. The validation pattern for a field value to be deemed valid
relationship_filterobject- A filter definition that allows your autocomplete to filter down results
relationship_target_typestring- A representation of what type of object the field references. Options are "zen:user", "zen:organization", "zen:ticket", or "zen:custom_object:{key}" where key is a custom object key. For example "zen:custom_object:apartment".
removableboolean- If false, this field is a system field that must be present on all tickets
requiredboolean- If true, agents must enter a value in the field to change the ticket status to solved
required_in_portalboolean- If true, end users must enter a value in the field to create the request
sub_type_idnumber- 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_optionsany[]- Presented for a system ticket field of type "tickettype", "priority" or "status"
tagstring- For "checkbox" fields only. A tag added to tickets when the checkbox field is selected
titlestring- The title of the ticket field
title_in_portalstring- The title of the ticket field for end users in Help Center
typestring- System or custom field type. Editable for custom field types and only on creation. See Create Ticket Field
updated_atstring- The time the custom ticket field was last updated
urlstring- The URL for this resource
visible_in_portalboolean- Whether this field is visible to end users in Help Center

Defined in

clients/core/ticketfields.d.ts:1

Released under the MIT License.