Expand description
Issue relations — the blocks/blocked-by DAG edges between issues.
§Direction semantics
Linear’s IssueRelationType enum has no blockedBy value — direction
is positional. type: blocks means issueId blocks
relatedIssueId. To express “X is blocked by Y”, create the relation as
create(issue = Y, related = X, Blocks), or read it from X’s
inverseRelations.
On an issue, Issue.relations holds the outgoing edges (this issue →
related issue) and Issue.inverseRelations holds the incoming edges
(other issue → this issue). RelationsService::of_issue returns both
sides as an IssueRelations, whose blocks
and blocked_by views apply these rules so
callers never have to.
Structs§
- Issue
Relation - One directed relation edge between two issues.
- Issue
Relations - Both directions of an issue’s relation edges, as returned by
RelationsService::of_issue. - Relations
Service - Issue-relation operations: the blocks/blocked-by DAG edges between
issues. Obtain via
LinearClient::relations.