In this page

What is the Better Commit Policy Connector for Bitbucket Cloud app?

The Better Commit Policy Connector for Bitbucket Cloud app is a powerful tool to enforce custom policies on Git commits, branches, tags and pull requests in Bitbucket Cloud repositories. Commit policies define rules to ensure that every code change in the repositories meets your standards and includes necessary information for traceability and compliance.

It achieves this by integrating your Bitbucket workspace with your Jira Cloud site.

Watch the short introduction video to better understand the app features and benefits:

How does it work?

To implement commit policies based on Jira work item information in Bitbucket repositories, you need to use complementary apps on both sides. These apps are designed to work closely together to ensure that policies function properly.

The following connector app plus the central Jira app are the required:

  1. Better Commit Policy Connector for Bitbucket
    This connector app, installed to your Bitbucket Cloud workspace, is where commit policies are configured and enforced. It hooks directly into the Bitbucket interface, offering a seamless developer experience that feels like a native feature.
  2. Better Commit Policy for Jira (the central app)
    This central app, installed to your Jira Cloud site, enables commit policies to access Jira work items. It makes it possible to check whether the referenced work items actually exist, are in the required project, sprint, version, status, are assigned to the right person, and such.
    More about the Jira app →

Next steps

Ready to get started? Here are your recommended next steps:

  1. Follow the getting started guide to set up your first commit policy.
  2. Learn more about how checks work.
  3. Explore the configuration reference for commit policy options.
  4. Explore the recipes for frequently used rule examples.
  5. Use what you've learned to customize the policy for your development workflow.
  6. Add commit policies to more and more Bitbucket repositories!
  7. Enjoy! 🙂

Questions?

Ask us any time.