Cette page n’est pas encore disponible dans votre langue
Vous la lisez en English (UK).
linear_triage_responsibility
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.
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
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
Required
action(String) What happens to an incoming issue —assignputs it on the responsible person,notifyonly tells them about it.team_id(String) UUID of the team. Changing it replaces the resource — the update mutation has noteamId.
Optional
manual_user_ids(List of String) UUIDs of the users responsible, in rotation order. Leave unset when atime_schedule_iddrives the rotation.time_schedule_id(String) UUID of thelinear_time_scheduledriving the rotation. Leave unset to usemanual_user_idsinstead.
Read-Only
id(String) UUID of the triage responsibility.
Import
Import is supported using the following syntax:
The terraform import command can be used, for example:
# Import by UUID.
terraform import linear_triage_responsibility.example a1b2c3d4-0000-0000-0000-000000000000
Cette page vous a-t-elle été utile ?