GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows users to create links between issues in a GitLab project by making a POST request to the GitLab API endpoint for issue links. It is useful for managing and associating related issues within a project, facilitating better issue tracking and project management. For example, linking a bug report issue to a feature request issue to indicate dependency or relation.

Use Case Examples

  1. Linking two related issues in a GitLab project to track dependencies or related work items.
  2. Creating an association between a parent issue and a sub-issue for better project organization.

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.
Path Parameters Parameters for the API path including project ID and issue internal ID.

Output

JSON

  • response - The JSON response from the GitLab API after creating the issue link, typically containing details of the linked issues.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and issue internal ID are correctly provided and exist in the GitLab instance.
  • Verify that the API key has sufficient permissions to create issue links in the project.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common errors include authentication failures, invalid project or issue IDs, and insufficient permissions.

Links

Discussion