---
ai:
  exclude: true
search:
  tags:
    - epic
    - POST
seo:
  description: >-
    Performs a partial update of the epic. A… Reference for the POST
    /agile/1.0/epic/{epicIdOrKey} endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Update an epic's details
  badge: POST
title: Update an epic's details
type: openapi-operation
---
Performs a partial update of the epic. A partial update means that fields not present in the request JSON will not be updated. Valid values for color are color_1 to color_9.

`POST /agile/1.0/epic/{epicIdOrKey}`

**Request body** (`application/json`, required)

The epic properties to update.

- `color` (ColorBean)
- `done` (boolean)
- `name` (string)
- `summary` (string)

Request body example:

```json
{
  "color": "color_6",
  "done": true,
  "name": "Epic 1",
  "summary": "Epic 1 summary"
}
```

**Responses**

- `200` — Updated epic
- `400` — Returned if the request is invalid.
- `401` — Returned if the user is not logged in.
- `403` — Returned if the user does not a have valid license or edit issue permission.
- `404` — Returned if the epic does not exist or the user does not have permission to view it.

Response example, 200:

```json
{
  "color": "color_6",
  "done": true,
  "id": 10000,
  "key": "PR-1",
  "name": "Epic 1",
  "self": "http://www.example.com/jira/rest/api/2/issue/10000",
  "summary": "Epic 1 summary"
}
```
