GitLab API

GitlabTool

Actions905

Overview

This node operation resets the time estimate for a specific merge request in a GitLab project. It is useful for project managers or developers who want to clear or reset the time tracking estimate associated with a merge request, helping to keep time tracking accurate and up to date. For example, if the initial time estimate was incorrect or needs to be recalibrated, this operation can be used to reset it.

Use Case Examples

  1. Resetting the time estimate of a merge request after re-evaluating the required work.
  2. Clearing the time estimate before starting a new time tracking period on a merge request.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is POST for this operation.
Path Parameters Parameters required in the URL path to identify the project and merge request.

Output

JSON

  • success - Indicates if the time estimate reset was successful.
  • message - Additional information or confirmation message from the API response.

Dependencies

  • GitLab API authentication token or API key

Troubleshooting

  • Ensure the project ID and merge request IID are correct and exist in the GitLab instance.
  • Verify that the authentication token has sufficient permissions to modify merge requests.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error: 404 Not Found - The project or merge request does not exist or is inaccessible.
  • Common error: 401 Unauthorized - Authentication failed or token is invalid.

Links

Discussion