Add spent time for an issue
POST
/api/v4/projects/{id}/issues/{issue_iid}/add_spent_time
Adds spent time for a specified issue.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
duration
required
The duration in human format.
string
Examplegenerated
{ "duration": "example"}Responses
Section titled “Responses”Created
Media typeapplication/json
object
time_estimate
integer
total_time_spent
integer
human_time_estimate
string
human_total_time_spent
string
Example
{ "time_estimate": 12600, "total_time_spent": 3600, "human_time_estimate": "3h 30m", "human_total_time_spent": "1h"}Bad Request
Unauthorized
Not found