GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific issue link from a GitLab project using the GitLab API. It is useful for users who want to fetch detailed information about the relationship between issues within a project, such as dependencies or related issues. For example, a project manager can use this node to get the details of how two issues are linked in a project to better understand issue dependencies.

Use Case Examples

  1. Retrieve the link details between two issues in a GitLab project to analyze issue dependencies.
  2. Fetch a specific issue relationship to display in a project management dashboard.

Properties

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

Output

JSON

  • id - The unique identifier of the issue link.
  • source_project_id - The ID of the source project containing the issue.
  • source_issue_iid - The internal ID of the source issue.
  • target_project_id - The ID of the target project containing the linked issue.
  • target_issue_iid - The internal ID of the target issue.
  • link_type - The type of link between the issues (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 authentication credential

Troubleshooting

  • Ensure the project ID, issue IID, and issue link ID are correctly provided and exist in the GitLab project.
  • Authentication errors may occur if the API key credential is missing or invalid; verify the credential configuration.
  • If the issue link ID does not exist, the API will return a not found error; confirm the link ID is correct.

Links

Discussion