Skip to main content
delegateLinearIssue delegates an existing issue to a Linear agent app. Linear then starts and tracks the provider’s coding session on that issue.
automations/delegate-linear-issue.automation.ts
issueId accepts a UUID or human-readable identifier such as ENG-123. delegateId is the app-user ID returned by listLinearUsers; choose an active app user whose supportsAgentSessions field is true. Optional second argument { account } defaults to the project binding. Returns the updated LinearIssue, including its delegate. The selected agent integration must already be installed and configured in the Linear workspace. Use updateLinearIssue({ issueId, delegateId: null }) to remove delegation.