issues

Set the estimated time for an issue

Sets an estimated time of work for a specified issue.

post/api/v4/projects/{id}/issues/{issue_iid}/time_estimate

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

issue_iidinteger required

The internal ID of the issue.

Request body

durationstring required

The duration in human format.

Example request

{
  "duration": "3h30m"
}

Response

Set the estimated time for an issue

time_estimateinteger required
total_time_spentinteger required
human_time_estimatestring required
human_total_time_spentstring required

Example response

{
  "time_estimate": 12600,
  "total_time_spent": 3600,
  "human_time_estimate": "3h 30m",
  "human_total_time_spent": "1h"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.