---
title: "Open/close, assign, or edit the title/description of an issue"
method: PATCH
path: "/entries/{entryId}/issues/{issueId}"
tags: ["Branches"]
---

# Open/close, assign, or edit the title/description of an issue

`PATCH /entries/{entryId}/issues/{issueId}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/issues/{issueId}`
- Auth: HTTP bearer

Every field is optional and an absent field is left alone. `assigneeId: null` clears the assignment; `body: null` (or a blank body) clears the description. A title that is blank once trimmed is rejected with 422.

## Path parameters

- `entryId` string, uuid, required
- `issueId` string, uuid, required

## Request body

- UpdateEntryIssueRequest
  - `status` 'open' | 'closed'
  - `assigneeId` string, uuid, nullable
  - `title` string
  - `body` string, nullable

## Response `200`

OK

- object
  - `data` object, required
    - `id` string, uuid, required
    - `status` 'open' | 'closed'
    - `assigneeId` string, uuid, nullable
    - `title` string
    - `body` string, nullable
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: Not found
- `422`: Blank title, or a field over its length limit

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
