Skip to main content

Linear

@mgreten/linearv2026.05.22.2· 1d agoMODELS
01README

Linear project management integration for swamp — issue CRUD, viewer auto-assignment, label management by name, and team/project/state listing via the official @linear/sdk.

02Release Notes

Add @hivemq/linear attribution in README and module JSDoc

03Models1
@mgreten/linearv2026.05.22.2linear.ts
fn getViewer()
Resolve the authenticated user's ID, name, and email
fn createMyIssue(title: string)
Create an issue auto-assigned to the authenticated user with team/project defaults
ArgumentTypeDescription
titlestringIssue title
fn getIssue()
Fetch a single issue by identifier (e.g. ENG-123) or UUID
fn updateIssue(title?: string, description?: string, stateId?: string, assigneeId?: string, projectId?: string)
Update fields on an existing issue
ArgumentTypeDescription
title?stringNew title
description?stringNew description
stateId?stringNew workflow state ID
assigneeId?stringNew assignee user ID
projectId?stringNew project ID
fn listIssues(projectId?: string, labelName?: string)
Query issues with filters
ArgumentTypeDescription
projectId?stringFilter by project ID
labelName?stringFilter by label name
fn addLabels(labels: string)
Attach labels to an issue by name (additive — preserves existing labels)
ArgumentTypeDescription
labelsstringComma-separated label names to add
fn listLabels()
List available labels for a team
fn createIssue(title: string, projectId?: string, stateId?: string, assigneeId?: string)
Create an issue with full control over all fields
ArgumentTypeDescription
titlestringIssue title
projectId?stringProject ID
stateId?stringWorkflow state ID
assigneeId?stringAssignee user ID
fn listTeams()
List all Linear teams and sync them as resources
fn listProjects()
List Linear projects, optionally filtered by team or name substring
fn listStates()
List workflow states for a team and sync them as resources

Resources

issue(infinite)— A Linear issue with resolved relations
team(infinite)— A Linear team
project(infinite)— A Linear project
workflowState(infinite)— A Linear workflow state (e.g. Backlog, In Progress, Done)
viewer(infinite)— The authenticated Linear user
label(infinite)— A Linear issue label
04Previous Versions1
2026.05.22.1May 22, 2026

Initial release: 11 methods for Linear issue CRUD, viewer auto-assignment, label management, and team/project/state listing

05Stats
A
100 / 100
Downloads
6
Archive size
244.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms