Linear
Topics
Core
Authentication, config resolution, mentions, and the script execution model.
Managing Issues
Search, create, update, and comment on issues.
Uploading
Upload, attach, and download files for issues.
Current Issue
Resolve "the issue" or "the ticket" to a Linear issue identifier.
GQL
Execute arbitrary GraphQL queries (escape hatch).
Workspace Pull
Pull and cache workspace settings (teams, states, users, labels).
Scripts
All scripts output JSON to stdout and exit non-zero on errors.
- •
scripts/search.ts— Search issues by text query - •
scripts/get.ts— Get single issue by identifier or UUID - •
scripts/create.ts— Create new issue - •
scripts/update.ts— Update issue state, assignee, priority, or other fields - •
scripts/comment.ts— Post comment on issue - •
scripts/upload.ts— Upload file to Linear cloud storage for embedding - •
scripts/attach.ts— Upload file and attach to issue's attachments area - •
scripts/download.ts— Download file from Linear uploads storage - •
scripts/resolve.ts— Resolve current issue from branch name, context file, or assigned list - •
scripts/query.ts— Execute arbitrary GraphQL query or mutation - •
scripts/pull.ts— Pull workspace data (teams, states, users, labels) into local cache