> ## 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.

# Create issue comment

> Create a Markdown comment or threaded reply on a Linear issue.

`createIssueComment` adds top-level discussion or replies to an existing comment.

```ts automations/comment-on-linear-issue.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { createIssueComment } from "automate.ax/linear"

export default automation("Comment on Linear issue", () => {
  onHttpRequest({ scope: "automation" })
  createIssueComment({ issueId: "ENG-123", body: "Ready for **review**." })
})
```

`issueId` and non-empty Markdown `body` are required. Optional `parentId` creates a threaded reply. Set `doNotSubscribeToIssue: true` to avoid automatically subscribing the acting user; optional `account` defaults to the project binding.

Returns the created `LinearComment`. Keep its `id` for update or deletion.
