GitLab API icon

GitLab API

Gitlab

Actions880

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. Practical examples include monitoring project progress or automating notifications based on milestone events.

Use Case Examples

  1. Fetch milestone events for issue ID 123 in project 'my-project' to analyze project timeline changes.
  2. Automate alerts when milestone events occur on critical issues in a GitLab project.

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.
Path Parameters Required path parameters to identify the project and issue.

Output

JSON

  • id - Unique identifier of the milestone event.
  • action - Action performed on the milestone (e.g., added, removed).
  • created_at - Timestamp when the event was created.
  • milestone
    • title - Title of the milestone associated with the event.
    • due_date - Due date of the milestone.
  • user
    • id - ID of the user who triggered the event.
    • username - Username of the user who triggered the event.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and eventable ID are correctly provided; otherwise, the API will return an error.
  • Check that the GitLab API key credential is valid and has sufficient permissions to access project issues and milestone events.
  • If pagination parameters are used, verify that 'page' and 'per_page' values are integers and within allowed ranges.

Links

Discussion