Skip to content

Ticket Type Attribute

Ticket type attribute, used to define each data field to be captured in a ticket.

typestringrequired

String representing the object's type. Always has the value ticket_type_attribute.

Value:"ticket_type_attribute"
Example:"ticket_type_attribute"
idstringrequired

The id representing the ticket type attribute.

Example:"1"
workspace_idstringrequired

The id of the workspace that the ticket type attribute belongs to.

Example:"ecahpwf5"
namestringrequired

The name of the ticket type attribute

Example:"Title"
descriptionstringrequired

The description of the ticket type attribute

Example:"Bug title."
data_typestringrequired

The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")

Example:"string"
input_optionsobjectrequired

Input options for the attribute

Example:"multiline: true"
orderintegerrequired

The order of the attribute against other attributes

Example:1
required_to_createbooleanrequired

Whether the attribute is required or not for teammates.

Default:false
Example:false
required_to_create_for_contactsbooleanrequired

Whether the attribute is required or not for contacts.

Default:false
Example:false
visible_on_createbooleanrequired

Whether the attribute is visible or not to teammates.

Default:true
Example:false
visible_to_contactsbooleanrequired

Whether the attribute is visible or not to contacts.

Default:true
Example:false
defaultbooleanrequired

Whether the attribute is built in or not.

Example:true
ticket_type_idintegerrequired

The id of the ticket type that the attribute belongs to.

Example:42
archivedbooleanrequired

Whether the ticket type attribute is archived or not.

Example:false
created_atinteger, (timestamp)required

The date and time the ticket type attribute was created.

updated_atinteger, (timestamp)

The date and time the ticket type attribute was last updated.

{ "type": "ticket_type_attribute", "id": "1", "workspace_id": "ecahpwf5", "name": "Title", "description": "Bug title.", "data_type": "string", "input_options": "multiline: true", "order": 1, "required_to_create": false, "required_to_create_for_contacts": false, "visible_on_create": false, "visible_to_contacts": false, "default": true, "ticket_type_id": 42, "archived": false, "created_at": 0, "updated_at": 0 }