Connecting Linear
- Go to Potpie → Integrations
- Click Connect Linear
- Complete the OAuth consent screen on Linear’s side
- Potpie stores your access token encrypted in PostgreSQL, linked to your Linear organization
One Linear organization maps to one integration per user.
What Agents Can Do
Once connected, agents can use two Linear tools when included in the agent’s tool list.| Tool | What it does |
|---|---|
get_linear_issue | Fetches an issue by ID returning title, description, status, assignee, team, priority, URL, created_at, and updated_at |
update_linear_issue | Updates any combination of title, description, status, assignee, or priority. Adding a comment creates a separate comment and does not overwrite the description. |
Token Resolution
When an agent calls a Linear tool, Potpie resolves the token in the following order:- Per-user OAuth token from the secrets manager
LINEAR_API_KEYenvironment variable is used as a system-wide fallback when no per-user token is present

