GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the links associated with a specific issue in a GitLab project using the GitLab API. It is useful for scenarios where you need to fetch related issues or external issue links connected to a particular issue within a project. For example, it can be used to display all linked issues for a project issue in a dashboard or to automate workflows based on issue relationships.

Use Case Examples

  1. Fetch all linked issues for a given issue in a GitLab project to display in a project management dashboard.
  2. Automate notifications or updates based on linked issues retrieved from GitLab.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication Select the authentication method to use, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Path Parameters Parameters to specify the project and issue for which to retrieve links.

Output

JSON

  • data - The array of issue links retrieved from the GitLab API for the specified project issue.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the project ID and issue internal ID are correctly specified and exist in the GitLab instance.
  • Verify that the authentication token has sufficient permissions to access the project's issues and their links.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion