Better Commit Policy Connector for Bitbucket Cloud

Automatically check Bitbucket commits and pull requests against configurable rules
How does it work?

Better Commit Policy Connector connects your Bitbucket repositories to Jira, and checks your commits and pull requests against configurable rules. Commits and pull requests that break the rules are blocked until fixed.

(The app delivers a native Bitbucket experience by leveraging Atlassian identity, merge checks, web-based editing, and other standard Bitbucket features.)

Enforce development standards
  • validate links between commits, pull requests and Jira work items 🔗
  • maintain a well-structured commit history
  • ensure traceable changes
  • speed up code reviews ⚡
  • stay audit-ready
  • promote standards-based development

Learn more by watching the intro video in the left.

Stay in control of every code change

Checks can be limited to:

  • specific Bitbucket workspaces
  • specific Bitbucket projects 📦
  • specific Bitbucket repositories 📁

Checks can validate every commit detail:

Check pull requests before merging

In Bitbucket, code changes can be applied by pushing commits or merging pull requests.

The app thoroughly checks all pull request details as well:

Ready for the Enterprise

Unlike free or home-grown solutions, Better Commit Policy Connector is:

Commit verification will not slow you down!

Fixing a wrong commit created hours ago is painful and costly. That's true.

Better Commit Policy Connector works eagerly: it verifies commits before those are created. By preventing the creation of wrong commits, there is no need to fix anything later!

Better Commit Policy Connector is the only commit checker app for Bitbucket with this feature. Other apps verify commits only when those are sent to the server. And that's way too late!

Watch the video in the right and read how does local check work?

Works with your current tools

Your team members can use any standard-compliant Git client (command-line, GUI tools, IDE integrations) on any Operating System.

Zero learning curve

After a couple of rejections, clean and precise commits become the new normal.

Keep Jira work items and development in sync

Ensure a reliable view of development activity in Jira by enforcing work item references in Bitbucket commits, pull requests, and branch names.

Benefits:

Enforce well-formatted and traceable commit messages

Ensure every commit is traceable, properly formatted, and linked to the right Jira issue.

Enforce consistent pull request titles

Accelerate code reviews and reduce your cycle time by ensuring pull requests are well-titled and linked to Jira work items.

Enforce informative pull request descriptions

Maintain PR description standards with custom checks for content, structure, and work item links.

Enforce rules for source branches in pull requests

Streamline development with work item linked, well-formatted branch names.

  • PR source branch name must match a pattern
    • source branch names must follow naming conventions (example: must start with feature/, bugfix/ or hotfix/)
    • bugfix branch names must contain a work item from a specific project immediately after the slash (example: "bugfix/CAL-123-memory-leak")
  • PR source branch name must contain work item keys from a JQL query
    • feature branch names must include a "Story" type work item from the current sprint (example: "feature/CAL-456-shared-calendars")
    • bugfix type branch names must include a resolved "Bug" type work item assigned to the commit author (example: "bugfix/CAL-789-form-validation-crash")
Enforce rules for destination branches in pull requests

Standardize branch names with validated work item links for critical branches.

Refine commit policy behavior with custom exceptions

Customize your commit policy to exclude certain users, ordinary commits, or merge commits for greater flexibility.

  • Ignore certain users
    • allow selected users to be exempt from the commit policy (example: engineering leads can make changes that regular developers can't)
    • skip commits created by your CI/CD system, dependency update bot, automations and such (example: GitHub Actions, Dependabot, Terraform)
  • Ignore ordinary commits
    • skip ordinary commits if you only need to check merge commits
  • Ignore merge commits
    • skip merge commits if you only need to check ordinary commits

Rigorous change control

Establish processes for compliance with ISO standards, IEC standards and industry regulations in:

  • defence
  • financial
  • avionics (success story)
  • automotive
  • medical
  • pharmaceutical
  • other safety-critical systems

Or, just make sure that every change to your code is introduced in a controlled and documented way!

End-to-end traceability

Accelerate requirements validation, compliance verification, impact analysis, coverage analysis and source code audits by bi-directionally linking Jira issues and source code changes:

  • requirements ⇔ code changes
  • epics ⇔ user stories ⇔ code changes
  • tasks / bugfixes ⇔ code changes
  • tests ⇔ code changes
  • change requests ⇔ sub-tasks ⇔ code changes
  • releases ⇔ issues ⇔ code changes

Faster code reviews & audits

Maintain development workflows for consistent repository, code & history.

By making small improvements (useful tips) in the way your team works, common questions like these will be automatically answered:

  • "Why was this changed?"
  • "Was it tested? In what environments?"
  • "Is this within the scope of the current release?"
  • "Who approved this merge?"
  • "Is there a programmatic test for this story?"

Integrated with the Bitbucket apps and Git client you already use

Better Commit Policy Connector for Bitbucket extends the popular Bitbucket editor apps and all Git clients with commit verification features.

How does it help me work better?


Better Commit Policy success story (Aviation)
Helping the developer team comply with regulations and software requirements

"In the aviation industry, we need to be able to prove to authorities how exactly each aerospace system requirement is fulfilled and by what part of the source code. Better Commit Policy makes it easy to manage our Jira work items towards those requirements, proactively control what is committed to our source code repositories, and ultimately, to comply with regulations."

– Kalen Brown, Associate Electrical and Computer Engineer

Read the story →
Better Commit Policy success story (Medical)
How developers of safety-critical systems at Philips manage source code changes

"Before using commit policies, our developers’ behavior was like in the wild west. We couldn’t match source code changes with Jira issues, it was almost impossible to understand what work has really been done, we wasted time. The Better Commit Policy app helps us maintain a manageable development process by enforcing some configurable rules in a friendly, but strict way."

– Yakov Yukhnovetsky, DevOps Engineer

Read the story →
Do you have an inspiring story
with the Better Commit Policy app?


We'd love to know!

Who's using it?


Logo of Los Alamos National Laboratory, a company using Midori apps Logo of Wells Fargo, a company using Midori apps Logo of XPO Logistics, a company using Midori apps Logo of Audi, a company using Midori apps Logo of Thales, a company using Midori apps Logo of ANZ Bank, a company using Midori apps Logo of Philips, a company using Midori apps Logo of Nielsen, a company using Midori apps Logo of Oracle, a company using Midori apps Logo of Cloudflare, a company using Midori apps Logo of Bank of America, a company using Midori apps Logo of SouthWest Airlines, a company using Midori apps Logo of Fujitsu, a company using Midori apps Logo of Dell, a company using Midori apps

For compliance reasons, we must ensure that every commit is associated with a valid Jira issue. This app allows us to satisfy that requirement. The support from Midori so far has been fantastic. I reported an issue and was promptly contacted by a senior developer who was able to identify the root cause of the problem and quickly provide a patch that resolved it.

Andrew F., Intronis

This app is a must-have to keep our repository clean. Its usage is as easy and intuitive as possible.

Eric F., CTA International

This app is a key tool in our DevOps process.

Subramanian O., Essilor

This app "just works". When I needed help, the support was really fast and good.

Valentin E., Open Technologies
more reviews →

Get the app free

  1. Install the app. (how to install?)
  2. Use the app completely free of charge. (note: its dependencies are paid apps)
  3. Ask questions or report problems any time by clicking the "Help" tab in the right bottom. (how to get support?)
  4. Get the latest Better Commit Policy Connector for Bitbucket release announcements, best practices, tips from power users. (how to subscribe?)
Get it free →
Do you generate Jira reports? Check out our Excel exporter and PDF exporter apps!