curl --request PATCH \
--url https://api.getfernand.com/integrations/linear/{conversation_id}/tickets/{linear_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"priority": 2
}'{
"id": "8a7b93d1-18f7-4a9f-b5c6-3e2d1f9a8c7b",
"title": "Fix authentication bug",
"url": "https://linear.app/team/issue/ENG-123",
"identifier": "ENG-123",
"assignee": {
"name": "Richard Hendricks",
"avatar_url": "https://avatar.linear.app/9c0d1e2f"
},
"state": {
"name": "In Progress",
"type": "started",
"color": "#f2c94c",
"verbose": "2024-01-15T10:30:00+00:00",
"last_updated_at": "2024-01-15T10:30:00Z"
},
"labels": [
{
"name": "bug",
"color": "#5e6ad2"
}
],
"priority": 2,
"priority_label": "High",
"last_updated_at": "2024-01-15T10:30:00Z"
}curl --request PATCH \
--url https://api.getfernand.com/integrations/linear/{conversation_id}/tickets/{linear_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"priority": 2
}'{
"id": "8a7b93d1-18f7-4a9f-b5c6-3e2d1f9a8c7b",
"title": "Fix authentication bug",
"url": "https://linear.app/team/issue/ENG-123",
"identifier": "ENG-123",
"assignee": {
"name": "Richard Hendricks",
"avatar_url": "https://avatar.linear.app/9c0d1e2f"
},
"state": {
"name": "In Progress",
"type": "started",
"color": "#f2c94c",
"verbose": "2024-01-15T10:30:00+00:00",
"last_updated_at": "2024-01-15T10:30:00Z"
},
"labels": [
{
"name": "bug",
"color": "#5e6ad2"
}
],
"priority": 2,
"priority_label": "High",
"last_updated_at": "2024-01-15T10:30:00Z"
}ID of the conversation the issue is attached to.
UUID of the Linear issue to update.
Priority level - 0 (No priority), 1 (Urgent), 2 (High), 3 (Medium), 4 (Low) (required).
2
Linear issue updated successfully.
Unique identifier of the Linear issue.
"8a7b93d1-18f7-4a9f-b5c6-3e2d1f9a8c7b"
Title of the issue.
"Fix authentication bug"
URL to view the issue in Linear.
"https://linear.app/team/issue/ENG-123"
Human-readable issue identifier.
"ENG-123"
Assigned user (null if unassigned).
Show child attributes
Current workflow state of the issue.
Show child attributes
List of labels applied to the issue.
Show child attributes
Priority level (0=No priority, 1=Urgent, 2=High, 3=Medium, 4=Low).
2
Display name of the priority level.
"High"
ISO 8601 timestamp of the last update.
"2024-01-15T10:30:00Z"
Was this page helpful?