In this page
What is the Better Commit Policy for Jira Cloud app?
The Better Commit Policy for Jira Cloud app is a powerful tool to enforce custom policies on Git commits, branches, tags and pull requests in Git repositories hosted on various development platforms. 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 Jira Cloud site with your Bitbucket, GitHub, and GitLab workspaces through dedicated connector apps.
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 Git repositories hosted on Bitbucket, GitHub or GitLab, you need to use complementary apps on all sides that you actually use. These apps are designed to work closely together to ensure that policies function properly.
Out of the following apps, the connector app built for your development platform plus the central Jira app are required:
-
Better Commit Policy Connector for Bitbucket
(only if you use 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.
More about connecting your Bitbucket workspace to Jira -
Better Commit Policy Connector for GitHub
(only if you use GitHub)
This connector app, which will enforce commit policies in Cloud workspaces, is coming soon!
More about connecting your GitHub workspace to Jira -
Better Commit Policy Connector for GitLab
(only if you use GitLab)
This connector app, which will enforce commit policies in Cloud workspaces, is coming soon!
More about connecting your GitLab workspace to Jira -
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.
💡 Are you using multiple developer platforms within your organization (e.g. both Bitbucket and GitHub)? Those scenarios are absolutely supported. Just install the corresponding connector app to each VCS workspace, and connect them to the Jira Cloud site, exactly like you do in the "single platform" scenario.
Next steps
Ready to get started? Here are your recommended next steps:
- Follow the getting started guide to set up your first commit policy. (It includes specific instructions for Bitbucket, GitHub, GitLab, and other platforms.)
- Add commit policies to more and more Git repositories!
- Enjoy! 🙂
Questions?
Ask us any time.