Integration
Automate with Bitbucket
Bitbucket powers your code collaboration in the Atlassian ecosystem. NVS connects pull request events, pipeline results, and branch activity to Jira, Slack, and your deployment systems.
Use Cases
When a Bitbucket pull request receives the required approvals, it is automatically merged, the linked Jira issue is moved to Done, and the team is notified in Slack.
Trigger
PR Approved
bitbucket.trigger
Fires when a PR reaches the required number of approvals.
Check Merge Conflicts
bitbucket.pr
PR status checked to ensure no merge conflicts exist.
IF
Clean to Merge?
nvs.condition
Only conflict-free PRs are auto-merged.
NO
Output
Notify Author
slack.message
Author notified: conflicts must be resolved before merge.
YES
Merge PR
bitbucket.pr
PR merged into the target branch automatically.
Output
Update Jira Issue
jira-software.issue
Linked Jira issue moved to Done. Bitbucket PR link added.
When a Bitbucket Pipelines deployment completes, the deployment status is posted to the #deployments Slack channel and the Jira release is updated.
Trigger
Deployment Completed
bitbucket.trigger
Fires when a Bitbucket Pipelines deployment step succeeds or fails.
Extract Deploy Context
nvs.set
Environment, branch, deployer, and build number extracted.
IF
Success?
nvs.condition
Routes based on deployment outcome.
YES
Update Jira Release
jira-software.issue
Jira version/release marked deployed with deployment timestamp.
Output
Post Success
slack.message
Slack: deployment succeeded, environment, version, and build number.
NO
Output
Alert Team + Create Incident
slack.message
Slack alert to #deployments. PagerDuty incident created for production failures.
When code is pushed to a Bitbucket repository, the linked Confluence runbook page is updated automatically with the latest commit hash and deployment timestamp.
Trigger
Code Pushed
bitbucket.trigger
Fires on every push to a monitored Bitbucket repository.
Extract Commit Metadata
nvs.set
Commit hash, author, branch, and timestamp extracted.
Find Linked Confluence Page
confluence.api
Confluence page associated with the repository fetched by page label.
Output
Update Runbook Page
confluence.api
Latest commit details appended to the deployment history section of the runbook.
Ready to automate Bitbucket?
We'll map your workflow, connect your tools, and build it in days, not months.
Book a Free Strategy Call →