> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On issue changed

> Start an automation when a Linear issue is created, updated, or removed.

`onLinearIssueChanged` watches every issue lifecycle action in the connected workspace.

```ts automations/watch-linear-issues.automation.ts theme={null}
import { automation } from "automate.ax"
import { onLinearIssueChanged } from "automate.ax/linear"

export default automation("Watch Linear issues", () => {
  onLinearIssueChanged()
})
```

It accepts only optional static `account`, which defaults to the project binding. A signal cannot choose the workspace at runtime.

Returns a webhook signal with `type: "Issue"`, `action: "create" | "update" | "remove"`, `data: Record<string, JSONValue>`, optional `updatedFrom`, optional actor and URL, `createdAt`, `organizationId`, `webhookId`, and millisecond `webhookTimestamp`. `data` is provider-native; call `getIssue` with its ID when you need a stable normalized issue.
