module Gitlab::Client::Issues
def add_time_spent_on_issue(project, id, duration)
-
duration
(String
) -- The time spent in human format. e.g: 3h30m -
id
(Integer
) -- The ID of an issue. -
project
(Integer, String
) -- The ID or name of a project.
def add_time_spent_on_issue(project, id, duration) post("/projects/#{url_encode project}/issues/#{id}/add_spent_time", body: { duration: duration }) end