GitLab API

GitlabTool

Actions1000

Overview

This node operation updates the YouTrack integration settings for a specific GitLab project by sending a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/integrations/youtrack`. It is useful for automating the configuration of YouTrack integrations within GitLab projects, such as enabling or modifying integration parameters programmatically.

Use Case Examples

  1. Automatically update YouTrack integration settings for a project when a new project is created.
  2. Modify YouTrack integration parameters as part of a CI/CD pipeline to ensure consistent integration configuration across projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use if authentication is not skipped.
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 but set to PUT for this operation.
Path Parameters Parameters included in the request path, specifically the project ID to identify which project's YouTrack integration to update.

Output

JSON

  • id - The ID of the GitLab project for which the YouTrack integration is updated.
  • integrationStatus - Status or response details of the YouTrack integration update operation.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correct and have sufficient permissions to update project integrations.
  • Check that the request body schema matches the expected structure for the YouTrack integration update to avoid validation errors.

Links

Discussion