GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves custom attributes for a specific GitLab group using the GitLab API. It is useful for scenarios where you need to access or manage metadata associated with GitLab groups, such as fetching custom fields that have been added to groups for organizational or automation purposes. For example, it can be used in automation workflows to dynamically fetch group-specific custom attributes for reporting or integration with other systems.

Use Case Examples

  1. Fetch custom attributes of a GitLab group to display in a dashboard.
  2. Use group custom attributes in an automation workflow to trigger actions based on attribute values.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication The authentication method used for the API request, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters included in the API request path, specifically the group ID to fetch custom attributes for.

Output

JSON

  • custom_attributes - The list of custom attributes associated with the specified GitLab group.

Dependencies

  • GitLab API credentials

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correctly configured and have sufficient permissions to access group custom attributes.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion