GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves custom attributes for a specific project in GitLab using the GitLab API v4. It is useful for scenarios where you need to access or manage metadata associated with GitLab projects, such as fetching custom fields that have been added to projects for organizational or tracking purposes.

Use Case Examples

  1. Fetching custom attributes of a project to display additional metadata in a project management dashboard.
  2. Automating the retrieval of project-specific custom attributes for reporting or integration with other tools.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Path Parameters Parameters included in the API request path, specifically the project ID to identify which project's custom attributes to retrieve.

Output

JSON

  • customAttributes - The list of custom attributes retrieved for the specified project.

Dependencies

  • GitLab API authentication credentials

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the GitLab API base URL is correct and reachable.
  • Check that the authentication credentials are correctly configured and have sufficient permissions to access project custom attributes.
  • Common error messages may include 404 Not Found if the project ID does not exist or 401 Unauthorized if authentication fails.

Links

Discussion