SpedySpedy Docs

Ticket Types

Manage ticket types like Bug, Feature, and Epic.

Ticket types classify what kind of work a ticket represents. Common types include Bug, Feature, and Epic. Each type has a name, color, and display order.

List Ticket Types

GET /api/v1/ticket-types

Returns all ticket types in the organization.

Example Response

{
  "data": [
    {
      "id": "typ_abc123",
      "name": "Feature",
      "color": "#3B82F6",
      "description": "New functionality",
      "order": 0,
      "isOrgDefault": true
    },
    {
      "id": "typ_def456",
      "name": "Bug",
      "color": "#EF4444",
      "description": "Something that needs fixing",
      "order": 1,
      "isOrgDefault": false
    }
  ]
}

Get Default Ticket Type

GET /api/v1/ticket-types/default

Returns the organization's default ticket type, used when no type is specified during ticket creation.

Create Ticket Type

POST /api/v1/ticket-types

Permission required: settings:manage-ticket-types

Request Body

FieldTypeRequiredDescription
namestringYesType name (max 50 characters)
colorstringYesColor in hex format (e.g. #EF4444)
descriptionstringNoType description (max 500 characters)
ordernumberNoDisplay order (0-100)
isOrgDefaultbooleanNoSet as the default type
enabledByDefaultbooleanNoEnabled by default on new boards

Example Request

{
  "name": "Epic",
  "color": "#8B5CF6",
  "description": "Large feature spanning multiple tickets"
}

Get Ticket Type

GET /api/v1/ticket-types/{typeId}

Returns a single ticket type.

Update Ticket Type

PATCH /api/v1/ticket-types/{typeId}

Permission required: settings:manage-ticket-types

Request Body

FieldTypeRequiredDescription
namestringNoType name
colorstringNoColor in hex format
descriptionstringNoType description
ordernumberNoDisplay order
isOrgDefaultbooleanNoSet as the default type

Delete Ticket Type

DELETE /api/v1/ticket-types/{typeId}

Permission required: settings:manage-ticket-types

Deletes a ticket type. You can optionally provide a replacement type for existing tickets.

Query Parameters

ParameterTypeRequiredDescription
replacementTypeIdstringNoReassign existing tickets to this type before deletion

Returns 204 No Content.