GitLab API

GitlabTool

Actions1000

Overview

This node operation allows users to post a time estimate for a specific merge request in a GitLab project. It is useful for project management and tracking the estimated time required to complete a merge request. For example, a developer or project manager can use this node to set or update the time estimate for a merge request to better plan and allocate resources.

Use Case Examples

  1. Setting a time estimate for a merge request to communicate expected work duration.
  2. Updating the time estimate of a merge request based on new information or progress.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, hidden unless Skip Authentication is false.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters required in the request path to identify the project and merge request.

Output

JSON

  • time_estimate - The time estimate set for the merge request.
  • merge_request_id - The internal ID of the merge request.
  • project_id - The ID of the project containing the merge request.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID and merge request IID are correctly provided and URL-encoded if necessary.
  • Verify that the authentication token has the necessary permissions to update merge requests.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages may include authentication failures, invalid project or merge request IDs, or insufficient permissions. Resolving these typically involves verifying credentials, input parameters, and user access rights.

Links

Discussion