# add_checklist_item

`tools/call` · `POST /clanker/v1/tickets:add-checklist-item`

Add an item to the end of a ticket's checklist for one of its team's statuses, its current status unless you name another. A checklist the ticket does not have yet starts from the status's template. Returns the ticket with its checklists. Needs write access.

- Area: Planning
- Needs the write grant. Idempotent.

## Inputs

- `ticket` (string, required): A ticket ID, such as WEB-31.
- `title` (string, required): What has to be done, up to 120 characters, unique within the checklist.
- `status` (string): The status whose checklist gets the item, by name, such as In Review. Leave it out for the ticket's current status.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_checklist_item",
    "arguments": {
      "ticket": "WEB-31",
      "title": "Search works offline"
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.qa.clankership.net/clanker/v1/tickets:add-checklist-item \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "ticket": "WEB-31",
    "title": "Search works offline"
  }'
```
