linear.webhooks.process_issue_event ​
Normalize Linear issue webhook events into ticket actions.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-linear |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
delivery_id | string | No | — | — |
event_type | string | Yes | — | — |
action | string | Yes | — | — |
payload | json | Yes | — | — |
connection_uuid | string | No | — | — |
received_at | datetime | No | — | — |
allow_create | boolean | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
processed | boolean | No | — | — |
duplicate | boolean | No | — | — |
ticket_uuid | string | No | — | — |
issue_id | string | No | — | — |
actions | list | No | — | — |
warnings | list | 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 | — |
run | No | No | — | — | — |
waiting | No | No | — | — | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | run | — |
run | await_child | waiting | — |
run | complete | completed | — |
waiting | poll | waiting | — |
waiting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "linear.webhooks.process_issue_event",
"initial_data": {
"event_type": "value",
"action": "value",
"payload": "value"
}
}