Wrike and Bitbucket Sync: Setup Guide
The Wrike and Bitbucket two-way sync is powered by a partner: Unito.io. For even more information about how the two-way sync works, please check out Unito’s Help Center.
The Wrike and Bitbucket sync is part of the Wrike Project Syncs add-on. It enables automatic updates between Wrike tasks and Bitbucket issues. Select a Bitbucket repository that you’d like to sync with Wrike and:
Wrike creates a task for each issue in the Bitbucket repository.
For any task created in, or added to, the synced folder or project in Wrike, Wrike creates a Bitbucket issue in the synced repository.
When you update a linked task, the linked issue is automatically updated (and vice versa).
This page explains how to set up the sync. To learn how the sync works and what you can do after it's in place, please see Wrike and Bitbucket Sync: Overview.
Account admins and owners can set up the Wrike and Bitbucket two-way sync.
The Wrike and Bitbucket two-way sync works with Bitbucket.com. Because of API limitations, we're unable to support on-premise installations of Bitbucket.
To set up the sync with Wrike, it’s necessary to enable Issue Tracker in the Bitbucket repository that's being synced. You can read more about enabling Issue Tracker here.
When you set up the integration, a Wrike Bot is automatically created for you. The bot doesn't take up a Wrike user seat. A sync account isn't automatically set up in Bitbucket, so we strongly recommend creating one prior to setting up the first sync. You’ll find more details on how to do that below.
Before setting up the two-way sync between Wrike and Bitbucket, you need to enable the Project Syncs add-on in your Wrike account. You can find setup instructions on the Project Syncs overview page.
Each sync setup begins with creating a folder or project in Wrike and a repository in Bitbucket that will be connected. To help you get a feel for how the sync works, create a test repository in Bitbucket and use it for your first sync.
Create a sync account in Bitbucket to better track when updates are made as a result of the sync. If you use a sync account and a user updates a task’s title in Wrike, then in Bitbucket you’ll see that the title of the synced issue was updated by the sync account. If you don’t use a sync account, then Bitbucket shows that a user (the user whose credentials you use to set up the sync) updated the issue.
To create a sync account, create a new Bitbucket user and name it Wrike Bot. Visit Unito’s Help Center to read more about what permissions the Wrike Bot account needs. Make sure you give the bot account access to the folder you want to sync.
You only need to create a sync account in Bitbucket. In Wrike, there’s a special bot called Project Syncs Bot that's automatically added to your Wrike account when you set up the integration.
To create your first sync:
Click your profile image in the upper-right corner of the Wrike account.
Select Apps and integrations.
Click the Project syncs tab in the left panel.
(Optional) If there are multiple Wrike accounts associated with your email, select the relevant one.
Click the Create flow button.
You’ll see two cards on the screen for the two systems that you sync. The card on the right is reserved for Wrike by default.
Click the account drop-down and select Connect a new account.
Select Bitbucket and you’ll be prompted to log in.
Log in using the credentials of the bot account you created and authorize Unito.
After connecting to your Bitbucket instance, you’ll be redirected to the sync.
In the Project drop-down, select the existing Bitbucket repository you wish to sync.
After setting up the Bitbucket card, select a connector for Wrike on the right card:
The Wrike via Project Syncs Bot option is selected automatically. If you keep this option selected, Bitbucket will show that the bot has updated the issue. In this case, if you’re processing the first sync, you need to create a Wrike project or folder that will be integrated with Bitbucket. That project or folder will be available for selection in future syncs.
If you choose Wrike via Username, then the updates in Bitbucket will show that the user whose credentials you select to set up the sync updated the issue.
After both cards are set up, scroll down to choose the preferred sync direction.
Click Next. You’ll be directed to a page where you can configure rules.
Leave the filters as is to sync all issues and tasks by default.
Click Next. You'll see the Field Mappings section where you can select what information should be synced between issues and tasks.
Click Next. You’ll see the Options section. Here, you can disable Test Mode and Auto Sync.
Click Create flow when all the preferred configurations are set up.
Your sync is created.
If you have a lot of existing tasks or issues, then it may take a few minutes for the first sync to be completed. Tasks and issues are added continuously until all of them are synced.
To sync additional Bitbucket repositories with Wrike, repeat the steps starting from Step 3 above.
Click your profile image in the workspace’s upper right-hand corner.
Select Apps and Integrations.
Select the Project Syncs card.
Click the three-dot menu button on the right side of the flow you wish to edit.
Select Edit from the drop-down.
Now you can edit the sync.