GitLab API

GitlabTool

Actions1095

Merge_requests → postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime

AI-generated

Summary

Add spent time to a specific merge request in a GitLab project by providing the project ID or path, the merge request internal ID, and the time spent details in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the merge request.
  • merge_request_iid (required) — The internal ID of the merge request to which time will be added.
  • postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime (required) — The request body schema containing the amount of time to add as spent time on the merge request.

Output shape

a single record containing the API response to the time addition request

The response includes the updated spend time information for the specified merge request. The output directly reflects the GitLab API v4 response schema for adding spent time to a merge request.

Links

Discussion