Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update an epic's details

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}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
epicIdOrKeystringrequired

The id or key of the epic to update.

Request body
requiredapplication/json

The epic properties to update.

colorColorBean
Show properties
keystring
Allowed:color_1color_2color_3color_4color_5color_6color_7color_8color_9color_10color_11color_12color_13color_14
doneboolean
namestring
summarystring
Responses
200

Updated epic

colorColorBean
Show properties
keystring
Allowed:color_1color_2color_3color_4color_5color_6color_7color_8color_9color_10color_11color_12color_13color_14
doneboolean
idinteger<int64>
keystring
namestring
selfstring<uri>
summarystring
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.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/agile/1.0/epic/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "color": "color_6",
  "done": true,
  "name": "Epic 1",
  "summary": "Epic 1 summary"
}'
Response
{
  "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"
}

Was this page helpful?