Bitbucket Data Center icon

Bitbucket Data Center

Interact with Bitbucket Data Center API

Overview

This node integrates with Bitbucket Data Center's API to perform various operations on different resources such as projects, repositories, pull requests, branches, commits, users, tags, files, webhooks, and issues. However, issue operations are not supported directly by the Bitbucket Data Center API in this node; instead, it instructs users to use Jira integration for issue management.

For the Issue - Create operation specifically, the node does not implement any direct API call or logic because Bitbucket Data Center itself does not support issue operations via its API. The node throws an error indicating that issue operations should be handled through Jira integration.

Practical Use Cases

  • Managing Bitbucket projects, repositories, pull requests, branches, commits, etc., within n8n workflows.
  • Automating repository creation, branch management, pull request approvals, and webhook configurations.
  • For issue tracking and creation, integrating with Jira (or another issue tracker) is recommended since Bitbucket Data Center API lacks direct support.

Properties

Name Meaning
Authentication Method of authentication: "Personal Access Token" or "Basic Auth".
Project The Bitbucket project key to work with (required).
Title The title of the issue to create (required for issue create/update operations).
Content The content/description of the issue (optional for issue create/update operations).

Note: Although the properties for creating an issue exist, the node does not support executing this operation against Bitbucket Data Center API.

Output

  • Since the Issue resource operations are not implemented, no output data related to issue creation is produced.
  • For other resources and operations, the output is a JSON array containing the API response objects from Bitbucket Data Center.
  • No binary data output is involved.

Dependencies

  • Requires access to a Bitbucket Data Center instance with API enabled.
  • Requires either a personal access token or basic authentication credentials configured in n8n.
  • The node uses HTTP requests authenticated with the provided credentials to interact with the Bitbucket Data Center REST API.

Troubleshooting

  • Error: Issue operations are not directly supported in Bitbucket Data Center. Please use Jira integration instead.
    Cause: Attempting to create or manage issues using this node with Bitbucket Data Center API.
    Resolution: Use a Jira node or other issue tracking system integration to handle issue creation and updates.

  • API Request Failures: Errors like Bitbucket Data Center API request failed: ... indicate problems with authentication, network connectivity, or incorrect parameters.
    Resolution: Verify credentials, endpoint URL, and input parameters. Ensure the Bitbucket server is reachable.

  • Missing Required Parameters: If required fields like Project Key or Title are missing, the node will throw errors.
    Resolution: Provide all mandatory inputs as per the node's property definitions.

Links and References


Summary: The Bitbucket Data Center node supports many resources but does not support issue creation or management directly. Users should rely on Jira or other issue trackers for handling issues.

Discussion