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

# Update project

> Update Linear project planning, ownership, status, teams, or content.

`updateProject` changes selected project fields.

```ts automations/update-linear-project.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateProject } from "automate.ax/linear"

export default automation("Update Linear project", () => {
  onHttpRequest({ scope: "automation" })
  updateProject({
    projectId: "project-slug",
    statusId: "status-uuid",
    leadId: "user-uuid",
  })
})
```

`projectId` is a UUID or slug. Optional fields are `color`, `content`, `description`, `icon`, `leadId`, `memberIds`, `name`, `priority`, `startDate`, legacy `state`, `statusId`, `targetDate`, `teamIds`, and `account`. Nullable content, icon, lead, and date fields accept `null` to clear. `memberIds` and `teamIds` replace their complete sets; `teamIds`, when supplied, must be non-empty.

Returns the updated `LinearProject`.
