GitLab API

GitlabTool

Actions1000

Overview

This node operation interacts with the GitLab API to reset the time estimate of a specific merge request within a project. It is useful in scenarios where the time estimate for a merge request needs to be cleared or recalibrated, such as project management or tracking adjustments in development timelines.

Use Case Examples

  1. Resetting the time estimate for a merge request when the original estimate is no longer accurate.
  2. Clearing the time estimate to start fresh tracking on a merge request's time usage.

Properties

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

Output

JSON

  • statusCode - HTTP response status code indicating the result of the reset operation.
  • body - The response body from the GitLab API, typically containing details about the reset time estimate operation.

Dependencies

  • GitLab API authentication token or credential

Troubleshooting

  • Ensure the project ID and merge request IID are correctly provided and valid to avoid 404 errors.
  • Authentication errors may occur if the API token is missing or invalid; verify credentials are correctly configured.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion