GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves milestone events related to a specific merge request within a GitLab project. It is useful for tracking changes or updates to milestones associated with merge requests, such as when a milestone is added, changed, or removed. Practical examples include monitoring project progress or automating notifications based on milestone events in merge requests.

Use Case Examples

  1. Fetch milestone events for a merge request to analyze project timeline changes.
  2. Automate alerts when a milestone is updated on a merge request.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination.
Path Parameters Required path parameters to identify the project and merge request.

Output

JSON

  • id - Unique identifier of the milestone event.
  • user
    • id - ID of the user who triggered the event.
    • name - Name of the user who triggered the event.
  • created_at - Timestamp when the event was created.
  • action - Type of action performed on the milestone (e.g., add, remove, update).
  • milestone
    • id - ID of the milestone involved in the event.
    • title - Title of the milestone involved in the event.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and merge request eventable ID are correctly provided to avoid 404 errors.
  • Check authentication credentials if receiving authorization errors.
  • Verify the base URL is correct for self-hosted GitLab instances.

Links

Discussion