GitLab API icon

GitLab API

Gitlab

Actions917

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 phase of work on a merge request.

Properties

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

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • merge_request_iid - The internal ID of the merge request.
  • reset_time_estimate_response - Response from GitLab API confirming the reset of the time estimate for the merge request.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and merge request IID are correctly provided and valid.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • The GitLab instance URL must be correct if using a self-hosted GitLab server.
  • HTTP method must be POST for this operation; using GET or others will not work.

Links

Discussion