GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific resource milestone event associated with a merge request in a GitLab project. It is useful for users who want to fetch detailed information about milestone events tied to merge requests within their GitLab projects, such as tracking progress or changes related to project milestones.

Use Case Examples

  1. Fetch details of a milestone event for a specific merge request in a GitLab project to monitor project progress.
  2. Retrieve milestone event information to audit changes or updates related to project milestones in GitLab.

Properties

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

Output

JSON

  • id - The ID of the resource milestone event.
  • project_id - The ID of the project associated with the milestone event.
  • merge_request_id - The ID of the merge request associated with the milestone event.
  • milestone_id - The ID of the milestone associated with the event.
  • action - The action performed on the milestone event (e.g., add, remove).
  • created_at - Timestamp when the milestone event was created.
  • updated_at - Timestamp when the milestone event was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID, merge request ID (eventable_id), and milestone event ID (event_id) are correctly provided and exist in the GitLab project.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project and merge request milestone events.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages may include 404 Not Found if the IDs are incorrect or the resource does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion