Saltar al contenido
duxt
Esta página aún no está disponible en tu idioma
La estás leyendo en English (UK).

linear_customer_status

Manages a customer status in Linear — one stage of the workspace's customer lifecycle. Requires Linear Customers to be enabled for the workspace; see customers_enabled on linear_workspace_settings. Statuses are workspace-wide, not per team.

linear_customer_status (Resource)

Manages a customer status in Linear — one stage of the workspace's customer lifecycle.

Requires Linear Customers to be enabled for the workspace; see customers_enabled on linear_workspace_settings. Statuses are workspace-wide, not per team.

Example Usage

# Needs Linear Customers enabled for the workspace — see `customers_enabled` on
# linear_workspace_settings.
resource "linear_customer_status" "prospect" {
  name         = "prospect"
  display_name = "Prospect"
  description  = "In conversation, not yet signed"
  color        = "#bec2c8"
  position     = 1
}

resource "linear_customer_status" "active" {
  name         = "active"
  display_name = "Active"
  color        = "#4cb782"
  position     = 2
}

Schema

Required

  • color (String) Colour of the status indicator as a hex string, e.g. #26b5ce.

Optional

  • description (String) Description of what the status represents.
  • display_name (String) Name shown in the Linear UI. Set at least one of name and display_name.
  • name (String) Internal name of the status. Set at least one of name and display_name.
  • position (Number) Sort position within the customer lifecycle. Linear appends the status at the end when unset.

Read-Only

  • id (String) UUID of the customer status.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

# Import by UUID.
terraform import linear_customer_status.example a1b2c3d4-0000-0000-0000-000000000000
¿Le ha resultado útil esta página?