GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific issue link from a GitLab project using the GitLab API. It is useful for scenarios where you need to fetch detailed information about the relationship between issues within a project, such as dependencies or related issues. For example, a project manager might use this to track linked issues for better project tracking and management.

Use Case Examples

  1. Fetch details of a linked issue in a GitLab project to understand its relationship with the current issue.
  2. Retrieve issue link information to automate project status updates based on linked issues.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters required in the API path to identify the project, issue, and issue link.

Output

JSON

  • id - The unique identifier of the issue link.
  • source_project_id - ID of the source project containing the issue.
  • source_issue_iid - Internal ID of the source issue.
  • target_project_id - ID of the target project linked to the issue.
  • target_issue_iid - Internal ID of the target issue.
  • link_type - Type of the issue link relationship (e.g., relates_to, blocks).
  • created_at - Timestamp when the issue link was created.
  • updated_at - Timestamp when the issue link was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the path parameters (id, issue_iid, issue_link_id) are correctly provided and valid to avoid 404 Not Found errors.
  • If authentication is skipped, the request may fail due to lack of permissions; ensure proper API key usage if authentication is enabled.
  • Check the baseUrl if using a self-hosted GitLab instance to avoid connection errors.

Links

Discussion