GitLab API

GitlabTool

Actions1000

Overview

This node operation allows updating the Pivotal Tracker service integration settings for a specific GitLab project by making a PUT request to the GitLab API endpoint `/api/v4/projects/{id}/services/pivotaltracker`. It is useful for automating the configuration of Pivotal Tracker integration within GitLab projects, such as enabling or modifying the integration settings programmatically.

Use Case Examples

  1. Automatically update Pivotal Tracker integration settings for a project when a new project is created.
  2. Modify the Pivotal Tracker service configuration as part of a CI/CD pipeline setup.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET but for this operation it is PUT.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

  • id - The ID of the GitLab project for which the Pivotal Tracker service integration is updated.
  • serviceSettings - The updated settings of the Pivotal Tracker service integration for the project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to update project service integrations.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion