archiveIssue archives by default. Set trash: true to move the issue to Linear’s recently deleted view instead.
automations/archive-linear-issue.automation.ts
issueId is a UUID or identifier. Optional trash selects recently deleted; optional account defaults to the project binding. Returns the archived LinearIssue, including archivedAt and provider trash state. Use Unarchive issue for archived issues.