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

Update the estimation of an issue for a board

Updates the estimation of the issue. boardId param is required. This param determines which field will be updated on a issue. Note that this resource changes the estimation field of the issue regardless of appearance the field on the screen. Original time tracking estimation field accepts estimation in formats like “1w”, “2d”, “3h”, “20m” or number which represent number of minutes. However, internally the field stores and returns the estimation as a number of seconds. The field used for estimation on the given board can be obtained from <a href=“#agile/1.0/board-getConfiguration”>board configuration resource</a>. More information about the field are returned by edit meta resource or field resource.

PUT/agile/1.0/issue/{issueIdOrKey}/estimation
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
issueIdOrKeystringrequired

The Id or key of the requested issue.

Query parameters
boardIdinteger<int64>

The id of the board required to determine which field is used for estimation.

Request body
requiredapplication/json

Bean that contains value of a new estimation.

valuestring
Responses
200

Returns the estimation of the issue and a fieldId of the field that is used for it.

fieldIdstring
valueobject
400

Returned if the boardId was not provided, field does not exists or value was in wrong format.

401

Returned if the user is not logged in.

403

Returned if user does not a have valid license or does not have permission to edit issue.

404

Returned if the issue does not exist or the user does not have permission to view issue or the board does not exist or the user does not have permission to view board or the issue does not belong to the board.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/agile/1.0/issue/string/estimation' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "value": "8.0"
}'
Response
{
  "fieldId": "customfield_12532",
  "value": 8
}

Was this page helpful?