# linear_triage_responsibility (Resource)

Manages who is responsible for a Linear team's triage inbox.

Drive it either from a rota — set `time_schedule_id` to a `linear_time_schedule` — or from a fixed list of people via `manual_user_ids`. The team needs `triage_enabled` for this to have any effect.

## Example Usage

```terraform
resource "linear_triage_responsibility" "engineering" {
  team_id          = linear_team.engineering.id
  action           = "assign"
  time_schedule_id = linear_time_schedule.oncall.id
}

# Or a fixed list instead of a rota:
resource "linear_triage_responsibility" "design" {
  team_id = linear_team.design.id
  action  = "notify"

  manual_user_ids = [
    data.linear_user.alice.id,
    data.linear_user.bob.id,
  ]
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `action` (String) What happens to an incoming issue — `assign` puts it on the responsible person, `notify` only tells them about it.
- `team_id` (String) UUID of the team. Changing it replaces the resource — the update mutation has no `teamId`.

### Optional

- `manual_user_ids` (List of String) UUIDs of the users responsible, in rotation order. Leave unset when a `time_schedule_id` drives the rotation.
- `time_schedule_id` (String) UUID of the `linear_time_schedule` driving the rotation. Leave unset to use `manual_user_ids` instead.

### Read-Only

- `id` (String) UUID of the triage responsibility.

## Import

Import is supported using the following syntax:

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
# Import by UUID.
terraform import linear_triage_responsibility.example a1b2c3d4-0000-0000-0000-000000000000
```