Create, update, search and triage issues, comments, labels and projects, and post project and initiative status updates, from any Windmill script, flow or app. Trigger flows on new or updated issues.
Set up in 3 steps
Create an API key
At linear.app/settings/account/security, create a personal API key and copy it.
Add the resource in Windmill
Open Resources, add a resource of type linear, and paste the key.
Run your first script
Fork any script below and list your teams — most calls need a team id.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Update Project
Update Initiative
List Views
List Project Updates
List Project Statuses
List Project Labels
List Initiatives
List Initiative Updates
Get View Issues
Get Project Update
Get Initiative Update
Get Initiative
Create Project Update
Create Initiative Update
Create Initiative
New or Updated Issue
Update Issue
Unarchive Issue
Search Issues
List Workflow States
List Users
List Teams
List Projects
List Labels
List Issues
List Cycles
List Comments
Get Issue
Create Project
Create Label
Trigger flows from Linear
Linear is not only a destination. These inbound paths are supported today.
New or updated issue (scheduled poll)
The New or Updated Issue trigger script polls Linear and returns the issues created or updated since its last run, optionally for one team. To run it, open a flow, add a trigger and choose Scheduled Poll, then pick the trigger script and an interval. Windmill puts the script first in the flow with a loop after it, so the steps you add run once per new item. The cursor is saved per flow: two flows polling the same source each get every item, and test runs keep a cursor of their own.
Resource type
The shape of the credential every script on this page expects.
linear
View raw schema →| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | A personal API key (lin_api_…) created under Settings → Security & access → Personal API keys (https://linear.app/settings/account/security). |
Questions
What can the key do?
What your own account can, limited by the permissions and team access you chose when creating the key. Actions are attributed to you, so create it on an account with the access you intend.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.