Wrike and Bitbucket Sync: Setup Guide
Note
The Wrike and Bitbucket two-way sync is powered by our partner: Unito.io. For even more information about how the two-way sync works, please visit Unito’s Help Center.
The Wrike and Bitbucket sync is part of the Wrike Sync 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).
Tip
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 before setting up the first sync. You’ll find more details on this below.
Before setting up the two-way sync between Wrike and Bitbucket, you need to enable the Wrike Sync add-on in your Wrike account. You can find setup instructions on the Wrike Sync page.
Each sync setup begins with creating a folder or project in Wrike and a repository in Bitbucket that will be connected. To familiarize yourself with the sync process, create a test repository in Bitbucket and use it for your first sync.
A sync account helps track updates made as a result of the sync. If you use a sync account and a user updates a task’s title in Wrike, Bitbucket will show that the title of the synced issue was updated by the sync account. Without a sync account, Bitbucket shows that the user whose credentials you used 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 learn about the permissions required for the Wrike Bot account. Make sure you give the bot account access to the folder you want to sync.
Note
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 sidebar.
-
Select Apps and integrations.
-
Click the Wrike Sync tab.
-
(Optional) If there are multiple Wrike accounts associated with your email, select the relevant one.
-
Click the Create flow button.
-
On the 1. Connect your tools card click Start here.
-
You’ll see two cards on the screen for the two systems that you sync. The card on the left is reserved for Wrike by default.
-
Click the + Choose account drop-down and select your Wrike account there.
-
On the card on the right, select a tool under Sync work in and select Bitbucket.
-
Then in the + Choose account drop-down that appears below, select + Connect a new Bitbucket account. 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:
-
You can either choose the Project Syncs Bot. 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.
-
Or you choose the Username option, 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.
Note
If you have a large number 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 sidebar 1.
-
Select Apps and Integrations 2.
-
Select the Wrike Sync 3 tab.
-
Click the three-dot menu button 4 on the right side of the flow you wish to edit.
-
Select Edit 5 from the drop-down.
Now you can edit the sync.