Linear new comment notifications on your phone.

Get a push notification when someone comments on a Linear issue.

How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into Linear

Add it as a webhook for Comments.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Linear comments webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In Linear, go to Settings > API and click New webhook (workspace admins only).
  3. Paste your webhook URL as the URL and pick the team (or all public teams).https://••••••••/•••••••• your personal URL, shown after install
  4. Tick the Comments resource type and save.
  5. Create a webhook under **Settings → API → New webhook** with the URL above, pick the team, and tick **Comments**.
  6. Linear signs deliveries with `Linear-Signature` (HMAC-SHA256), but JustPush doesn't check it yet, so keep your endpoint URL private.
The code

What runs when the webhook arrives

Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.

transform.js
1// Linear → new comment
2// Fires when someone comments on an issue in a team your webhook covers.
3// Docs: https://linear.app/developers/webhooks
4
5// Keep long text readable in a notification.
6function clip(value, max = 120) {
7 const text = typeof value === "string" ? value.replace(/\s+/g, " ").trim() : ""
8 return text.length > max ? text.slice(0, max - 1) + "…" : text || null
9}
10
11// Only link to real http(s) URLs.
12function link(url, cta) {
13 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
14}
15
16function handleRequest(request) {
17 const body = request.body || {}
18 const data = body.data ?? {}
19
20 // Guard: only new comments.
21 if (body.type !== "Comment" || body.action !== "create") {
22 console.log(`Ignoring Linear ${body.type ?? "unknown"} ${body.action ?? ""}`)
23 return null
24 }
25
26 const issue = data.issue ?? {}
27 const who = data.user?.name ?? body.actor?.name ?? "Someone"
28
29 return {
30 title: `💬 ${who} on ${issue.identifier ?? "an issue"}`,
31 message: [clip(data.body) ?? "New comment", issue.title ? `(${issue.title})` : null].filter(Boolean).join(" "),
32 topic: "Linear",
33 priority: -1, // Low — read it when you're back in Linear
34 buttons: link(body.url ?? issue.url, "Open comment"),
35 }
36}
Payload

The Linear Comment webhook

This is what Linear sends to your URL for comments. It is a sample, trimmed to the fields recipes use.

Comment · sample.json
1{
2 "url": "https://linear.app/acme/issue/ENG-123/checkout-total-is-off-by-one-cent#comment-77217de3",
3 "data": {
4 "id": "77217de3-fb52-4dad-bb9a-b356beb93de8",
5 "body": "Found it — we round each line before summing. Fix incoming.",
6 "user": {
7 "id": "u2",
8 "name": "Sam Lee"
9 },
10 "issue": {
11 "id": "2174add1-f7c8-44e3-bbf3-2d60b5ea8bc9",
12 "url": "https://linear.app/acme/issue/ENG-123/checkout-total-is-off-by-one-cent",
13 "title": "Checkout total is off by one cent",
14 "identifier": "ENG-123"
15 },
16 "edited": false,
17 "userId": "u2",
18 "issueId": "2174add1-f7c8-44e3-bbf3-2d60b5ea8bc9",
19 "createdAt": "2026-09-29T09:05:00.000Z"
20 },
21 "type": "Comment",
22 "actor": {
23 "id": "b5ea5f1f-8adc-4f52-b4bd-ab4e84cf51ba",
24 "name": "Jane Doe",
25 "type": "user",
26 "email": "[email protected]"
27 },
28 "action": "create",
29 "createdAt": "2026-09-29T09:00:00.000Z",
30 "webhookId": "000042e3-d123-4980-b49f-8e140eef9329",
31 "organizationId": "dc844923-f9a4-40a3-825c-dea7747e57d6",
32 "webhookTimestamp": 1790672400000
33}
FAQ

Linear new comment notifications: questions

Does this work on iPhone and Android?

Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.

Do I need to write code?

No. Install the recipe in Studio, paste your webhook URL into Linear and you are done. The code is there if you want to change the text, the sound or the buttons.

Can I change what the notification says?

Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.

What does it cost?

JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.

Ready when you are

Linear on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.