
Better Commit Policy Connector for Bitbucket Data Center
Automatically check Bitbucket commits, branches, tags and pull requests against configurable rulesHow 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 issues 🔗
- 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
Rules can be limited to:
- specific branches 🌱
- specific directories 📁
Rules can check 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 commits in pull requests to merge as well! ⚫
Ready for the Enterprise
Unlike free or home-grown solutions, Better Commit Policy Connector is:
- Commercially supported
- Scalable (for enterprise-scale teams using Jira and Bitbucket)
- Secure (SOC 2 Type II, vulnerability scanner, bug bounty program)
- Supports complex infrastructures (N-to-M Jira-Bitbucket links)
- Maintained for new Bitbucket releases (both Cloud and Data Center)
- Well-documented
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 verification 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.
Atlassian Open DevOps experience with Bitbucket Data Center
Make Bitbucket and Jira your DevOps backbone with the help of Better DevOps Automation, a companion app for Better Commit Policy.
Automate development workflows
Free up developers from repetitive and error-prone manual tasks.
Use Commit Created, Branch Created, Tag Created triggers or @commands (entered in commits messages) to automatically notify on, build, deploy, deliver or scan your code!
Enforce well-formatted and traceable commit messages
Ensure every commit is traceable, properly formatted, and linked to the right Jira issue.
-
Commit message must match a pattern
- commit messages must start with a Jira issue key
- commit messages must be 10+ characters long
-
Commit message must contain issue keys from a JQL query
- commits must be linked to one or more valid Jira issues
- commits must be associated with exactly one story in the current sprint
Validate the branches your developers create
Enforce your branches are standardized and follow your naming conventions.
-
Branch name must match a pattern
- branch names must follow naming conventions (example: must start with feature/, bugfix/ or hotfix/)
- bugfix type branch names must contain a test execution ID (example: "bugfix/1741-test-run")
-
Branch name must contain issue keys from a JQL query
- story type branch names must include a "Story" type issue from the currently running Scrum sprint (example: "story/CAL-123-shared-calendars")
- bugfix type branch names must include a "Bug" type issue assigned to the commit author (example: "bugfix/CAL-345-form-validation-crash")
Protect your repository from unexpected files and changes
Keep your repo clean, and your codebase protected.
-
Changed paths (files) must match a pattern
- protected paths: lock the "/doc/legal" directory from modifications
- accept only image files in the "/static/images" directory
- reject *.tmp, *.cfg, *.obj, *.class, .* and other temporary or hidden files
-
Changed paths (files) must contain issue keys from a JQL query
- filenames in the "/patches" directory must include a "Bug" type issue (example: "/patches/CAL-123.patch")
- sub-directories in the "/test/data" directory must be linked to a "Test" type issue (example: "/test/data/CAL-456/japanese.json")
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?"
Why should I care about change control?
- Computer system failure cost British Airways $100 million
- Gartner estimates network downtime may cost $300K per hour (average)
- Software failures cause 24% percent of all the medical device recalls according to FDA
- Forrester estimates that Amazon Web Services (AWS) outage affected 100,000 sites
- Software bug would allow hackers to take control over Sydney nuclear plant
- Unauthorized changes disable $2.7 billion US Navy submarine
Integrated with the Bitbucket apps and Git client you already use
How does it help me work better?

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 →
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 →Who's using it?














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.
This app is a must-have to keep our repository clean. Its usage is as easy and intuitive as possible.
This app is a key tool in our DevOps process.
more reviews →This app "just works". When I needed help, the support was really fast and good.
Get the app free
- Install the app. (how to install?)
- Use the app completely free of charge. (note: its dependencies are paid apps)
- Ask questions or report problems any time by clicking the "Help" tab in the right bottom. (how to get support?)
- Get the latest Better Commit Policy Connector for Bitbucket release announcements, best practices, tips from power users. (how to subscribe?)