Trigger workflows based on Bitbucket events
The Bitbucket Event Receive Node enables you to trigger workflows automatically when specific events occur within your Bitbucket workspace. This node listens for configured events, capturing detailed event information for further processing in your workflow.
To use the Bitbucket Event Receive Node effectively, you must complete the following configuration steps:
Authentication:
Authenticate your Bitbucket account within Pathlit. Once authenticated, your account details will be displayed in the node.
Workspace Name:
Specify the Bitbucket workspace name that you want to monitor. This is typically the workspace identifier found in your Bitbucket URL (e.g., workspace-name
in bitbucket.org/workspace-name/
).
Events:
Select one or more Bitbucket events that will trigger the workflow. Available events include:
pullrequest:created
)pullrequest:updated
)pullrequest:approved
)pullrequest:unapproved
)pullrequest:fulfilled
)pullrequest:rejected
)repo:push
)repo:fork
)repo:updated
)issue:created
)issue:updated
)issue:comment_created
)You can select multiple events to monitor simultaneously.
The workflow containing the Bitbucket Event Receive Node will only trigger when it is saved and deployed. To test the workflow within the editor, click the Run Workflow button. A side panel will appear, allowing you to enter test values:
Test Event Type:
Enter a mock event type to simulate the Bitbucket event (e.g., pullrequest:created
). This value will be used when manually testing the node.
Test Payload JSON:
Enter a JSON-formatted payload to simulate the event data. This payload should match the structure of actual Bitbucket event payloads.
Example payload:
Inputs:
Outputs:
The node provides the following outputs when an event occurs:
pullrequest:created
).Automated Code Review Notifications:
Trigger workflows when a pull request is created or updated, automatically notifying the appropriate reviewers via Slack or email.
Continuous Integration (CI) Automation:
Monitor repository pushes (repo:push
) to trigger automated builds, tests, and deployments, streamlining your CI/CD pipeline.
Issue Tracking Automation:
Automatically update your project management tool or notify your team when new issues are created or comments are added in Bitbucket.
Repository Activity Logging:
Track and log repository activity (forks, updates, etc.) for audit and compliance purposes.
Workflow Not Triggered by Events:
If your workflow does not trigger, verify the following:
Invalid JSON Payload:
If the JSON payload provided for testing is invalid, the node will default to the configured test values. Ensure your test payload is correctly formatted JSON.
If you encounter any issues with the Bitbucket Event Receive Node that are not covered in this documentation, please reach out to our support team for assistance.
Send Slack notifications based on Bitbucket events
Automatically create or update Jira issues from Bitbucket events
Send automated email notifications triggered by Bitbucket events
Fetch detailed pull request information from Bitbucket