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

linear_workflow_states

Lists workflow states, either of one team or of the whole workspace.

linear_workflow_states (Data Source)

Lists workflow states, either of one team or of the whole workspace.

Example Usage

data "linear_workflow_states" "engineering" {
  team_id = data.linear_team.engineering.id
}

output "started_states" {
  value = [
    for s in data.linear_workflow_states.engineering.workflow_states :
    s.name if s.type == "started"
  ]
}

Schema

Optional

  • team_id (String) UUID of the team to list states for. Leave unset to list every state in the workspace.

Read-Only

Nested Schema for workflow_states

Read-Only:

  • color (String) Colour of the state as a hex string.
  • description (String) Description of the state.
  • id (String) UUID of the workflow state.
  • name (String) Name of the state.
  • position (Number) Sort position of the state within its category.
  • team_id (String) UUID of the team the state belongs to.
  • type (String) Category the state belongs to — triage, backlog, unstarted, started, completed, canceled or duplicate.
¿Le ha resultado útil esta página?