IssueRelation
All issue relations. Returns a paginated list of all issue relations (blocks, blocked by, relates to, duplicates) visible to the authenticated user.
Table-Specific Information
SELECT
Retrieve Linear IssueRelation records:SELECT * FROM IssueRelation LIMIT 1
INSERT
To insert an IssueRelation record:INSERT INTO IssueRelation (type, issueId, relatedIssueId) VALUES ('related', '27cab3b0-a2f8-4f82-8b20-7772658f5897', '6b0685fc-9057-4401-92d5-80bf69df275f')
UPDATE
To update an IssueRelation record:UPDATE IssueRelation SET type = 'related' WHERE id = 'b6d3252e-3bf4-4fb9-9cd0-cc57c63060a7'
DELETE
To delete an IssueRelation record:DELETE FROM IssueRelation WHERE id = 'b6d3252e-3bf4-4fb9-9cd0-cc57c63060a7'
Columns
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False |
The unique identifier of the entity. |
| createdAt | Datetime | True |
The time at which the entity was created. |
| updatedAt | Datetime | True |
The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't been updated after creation. |
| archivedAt | Datetime | True |
The time at which the entity was archived. Null if the entity has not been archived. |
| type | String | False |
The type of relationship between the source issue and the related issue. Possible values include blocks, duplicate, and related. |
| issueId | String | False |
The source issue whose relationship is being described. This is the issue from which the relation originates. |
| relatedIssueId | String | False |
The target issue that the source issue is related to. The relation type describes how the source issue relates to this issue. |