GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves milestone event data related to a specific issue within a GitLab project. It is useful for tracking changes or updates to milestones associated with issues in a project, such as when a milestone is added, changed, or removed. Practical applications include monitoring project progress, automating reporting on issue milestones, or integrating milestone event data into other workflows.

Use Case Examples

  1. Fetch milestone events for issue #123 in project 'my-project' to track milestone changes.
  2. Automate notifications when milestones on issues are updated in a GitLab project.

Properties

Name Meaning
Skip Authentication Option to bypass 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.
Parameter Schema Defines required and optional parameters for the API call, including project ID, eventable ID, page number, and items per page.
Query Parameters Optional query parameters for pagination such as page number and items per page.
Path Parameters Required path parameters including the project ID and the eventable ID (issue ID).

Output

JSON

  • id - Unique identifier of the milestone event.
  • action - Type of action performed on the milestone (e.g., added, removed).
  • created_at - Timestamp when the event was created.
  • milestone - Details of the milestone involved in the event.
  • user - User who triggered the milestone event.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and eventable ID are correctly specified and URL-encoded if necessary.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project issues and milestone events.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page, per_page) should be valid integers; otherwise, the API may return errors or unexpected results.

Links

Discussion