GitLab API

GitlabTool

Actions1000

Overview

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

Use Case Examples

  1. Automatically update Jira integration settings for a GitLab project when project details change.
  2. Enable Jira integration for multiple GitLab projects in bulk via workflow automation.

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 key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but set to PUT for this operation.
Path Parameters Parameters to be included in the request path, specifically the project ID (`id`) to identify which project's Jira integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Jira integration settings.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID (`id`) path parameter is correctly provided and corresponds to an existing GitLab project.
  • Verify that the GitLab API key credential has sufficient permissions to update project integrations.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • If skipping authentication, be aware that the request may fail due to lack of authorization.

Links

Discussion