GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves milestone events 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 from an issue. Practical examples include monitoring project progress or auditing milestone changes for issue management.

Use Case Examples

  1. Get milestone events for issue ID 123 in project 'my-project' to track milestone changes.
  2. Fetch milestone events with pagination to review recent milestone updates on issues.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is 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 such as page number and items per page.
Path Parameters Required path parameters identifying the project and the eventable issue.

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 milestone event was created.
  • milestone
    • title - Title of the milestone associated with the event.
  • user
    • username - Username of the user who triggered the milestone event.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and eventable ID are correctly provided 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.
  • Common error messages include 401 Unauthorized (invalid or missing API key), 404 Not Found (incorrect project or eventable ID), and 400 Bad Request (invalid query parameters). Resolving these involves correcting credentials, IDs, or parameters.

Links

Discussion