Give approved work its own Bitbucket branch
Create a named branch from the right commit when a task is ready to begin.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Create a branch
Creates a new branch in a bitbucket repository from a target commit hash; the branch name must be unique, adhere to bitbucket's naming conventions, and not include the 'refs/heads/' prefix.
Why this helps
Branch setup adds a small but easy-to-forget step before focused work can start.
- Start work from the specified target commit.
- Use a consistent branch naming instruction.
- Reduce setup steps between task approval and coding.
Setup
Build it in a few focused steps.
- 1Connect 2chat and Bitbucket once in the Notis portal.
- 2Create an automation from any channel or in Automations, New Automation.
- 3Tell Notis to create a uniquely named branch in the specified repository from the supplied target commit, without a refs/heads/ prefix.
- 4Choose the webhook trigger and where run reports should go.
- 5Test with one real task and a valid target commit.
Questions about this workflow
Can the workflow invent a commit hash?
No. Include a valid target commit hash in the request or specify a supported branch or tag reference.
What naming requirements apply?
The branch name must be unique, follow Bitbucket naming conventions, and omit the refs/heads/ prefix.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link 2chat to Bitbucket. A trigger fires from one place; an action lands in another.
2chat triggers
Bitbucket actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create a branch
Creates a new branch in a bitbucket repository from a target commit hash; the branch name must be unique, adhere to bitbucket's naming conventions, and not include the 'refs/heads/' prefix.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create an issue
Creates a new issue in a bitbucket repository, setting the authenticated user as reporter; ensures assignee (if provided) has repository access, and that any specified milestone, version, or component ids exist.
Create an issue comment
Adds a new comment with markdown support to an existing bitbucket issue.
Create a pull request
Creates a new pull request in a specified bitbucket repository, ensuring the source branch exists and is distinct from the (optional) destination branch.
Create repository
Creates a new bitbucket 'git' repository in a specified workspace, defaulting to the workspace's oldest project if `project key` is not provided.
Create snippet comment
Posts a new top-level comment or a threaded reply to an existing comment on a specified bitbucket snippet.
Delete issue
Permanently deletes a specific issue, identified by its `issue id`, from the repository specified by `repo slug` within the given `workspace`.
Delete repository
Permanently deletes a specified bitbucket repository; this action is irreversible and does not affect forks.
Connect any two apps with Notis in the middle.
2chat and Bitbucket, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Bitbucket.