linear.issues.update_issue ​
Update an existing Linear issue
Update an existing Linear issue using the Linear GraphQL API.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-linear |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
issue_id | string | Yes | — | Linear issue ID |
title | string | No | — | New issue title |
description | string | No | — | New description in markdown |
status_id | string | No | — | New workflow state ID |
priority | integer | No | — | 0=No Priority |
assignee_id | string | No | — | New assignee user ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
identifier | string | No | — | — |
issue_id | string | No | — | — |
issue_url | string | No | — | — |
assignee_id | string | No | — | — |
description | string | No | — | — |
priority | integer | No | — | — |
status_id | string | No | — | — |
title | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "linear.issues.update_issue",
"initial_data": {
"issue_id": "value"
}
}