Synchronise a Bitbucket repository with a Trac repository


This plugin synchronises a Bitbucket repository with a local repository used by Trac.

When a Bitbucket repository is changed, this plugin pulls those changes into the local repository.

After installation of this plugin, you have to configure Bitbucket to notify Trac about changes. You do this on Bitbucket under Admin -> Services section, where you select POST service type and enter an URL of your Trac installation's /bitbucketsync handler. For example, if your Trac installation is on, then enter as service URL.

The name of the repository on Bitbucket should match the local one, and it is case sensitive. You can use aliases in Trac 0.12 to ensure that. The user under which Trac is running on the server should have write access to the local repository for which it is configured and you want to sync.

Of course, the local repository should be properly configured into Trac (commit and incoming hooks configured and so on). Then also ticket updates through commit messages is possible.

Bugs/Feature Requests

Please use GitHub for any issues you have with BitbucketSyncPlugin.


Download the zipped source from here.


You can clone BitbucketSyncPlugin from here using git, or browse the source on GitHub.


General instructions on installing Trac plugins can be found on the TracPlugins page.


Author: mitar
Maintainer: mitar

Last modified 7 years ago Last modified on Mar 24, 2017, 6:40:53 PM