Actions50
- Branch Actions
- Commit Actions
- Issue Actions
- Project Actions
- Pull Request Actions
- Repository Actions
- Tag Actions
- File Actions
- User Actions
- Webhook Actions
Overview
This node interacts with the Bitbucket Data Center API to manage users and other resources. Specifically, for the User resource with the Get All operation, it retrieves a list of all users from the Bitbucket Data Center instance.
Common scenarios where this node is beneficial include:
- Automating user management workflows by fetching all users.
- Integrating Bitbucket user data into other systems or dashboards.
- Auditing or reporting on users in a Bitbucket Data Center environment.
For example, you might use this node to get all users and then filter or process them to assign permissions or notify inactive users.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method to authenticate API requests. Options: "Personal Access Token" or "Basic Auth". |
| Return All | Whether to return all user results or limit the number returned. |
| Limit | Maximum number of user results to return if "Return All" is false (1 to 500). |
Output
The node outputs an array of user objects in the json output field. Each object represents a user retrieved from the Bitbucket Data Center API. The exact structure depends on the API response but typically includes user details such as username, display name, email, and other metadata.
No binary data output is produced by this operation.
Dependencies
- Requires access to a Bitbucket Data Center instance.
- Requires either a Personal Access Token or Basic Authentication credentials configured in n8n.
- The node uses the Bitbucket Data Center REST API endpoint
/rest/api/1.0/usersto fetch user data.
Troubleshooting
- Authentication errors: Ensure that the provided API token or basic auth credentials are valid and have sufficient permissions to read user information.
- API request failures: Network issues or incorrect server URLs can cause failures. Verify the Bitbucket Data Center server URL and network connectivity.
- Limit and pagination: If not returning all users, ensure the limit is within allowed bounds (1-500). To retrieve more users, enable "Return All".
- Empty results: If no users are returned, verify that the Bitbucket instance has users and that the authenticated account has permission to view them.
Common error message example:
"Bitbucket Data Center API request failed: <error message>"ā indicates an issue with the API call; check credentials, URL, and network.
Links and References
- Bitbucket Data Center REST API Documentation
- Bitbucket Data Center User API (endpoint for users)
If you need summaries for other resources or operations, please provide their names.