Actions29
Overview
This node integrates with the Bitbucket Data Center API to perform various operations on Bitbucket projects. Specifically, for the Project - Get operation, it retrieves detailed information about a specific project identified by its project key.
This node is useful in automation workflows where you need to fetch project metadata from Bitbucket Data Center, such as project name, description, and other attributes. For example, you might use this node to:
- Retrieve project details before creating or updating related repositories.
- Synchronize project information with other tools or databases.
- Trigger conditional logic based on project properties.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use: "Personal Access Token" or "Basic Auth". |
| Project | The project key identifying the Bitbucket project to retrieve. Loaded dynamically from available projects. |
Output
The output is a JSON object representing the Bitbucket project details returned by the API. This typically includes fields such as:
key: The unique project key.name: The project name.description: The project description.- Other metadata provided by the Bitbucket Data Center API about the project.
If the project is successfully retrieved, the node outputs an array with one object containing these details.
No binary data is output by this operation.
Dependencies
- Requires access to a Bitbucket Data Center instance.
- Requires credentials configured in n8n for authentication, either via a personal access token or basic authentication.
- The node uses the Bitbucket Data Center REST API endpoint
/rest/api/1.0/projects/{projectKey}to get project details.
Troubleshooting
Common issues:
- Invalid or missing project key: Ensure the project key exists and is correctly selected.
- Authentication failures: Verify that the API token or basic auth credentials are valid and have sufficient permissions.
- Network or server errors: Check connectivity to the Bitbucket Data Center server URL.
Error messages:
"Bitbucket Data Center API request failed: <message>"indicates an issue with the API call, such as authentication failure or invalid parameters."The operation "get" is not supported for resource "project"would indicate a misconfiguration but should not occur if using the correct operation.
To resolve errors, verify credentials, project key correctness, and network accessibility.
Links and References
- Bitbucket Data Center REST API Documentation
- Bitbucket Data Center Projects API (specific endpoint for projects)
This summary focuses solely on the Project - Get operation as requested, extracted from the static source code analysis.