Featured image with Logos for Asana and Bitbucket, representing Unito's guide to syncing Bitbucket Issues to Asana tasks with a 2-way integration.

How to Sync Asana Tasks to BitBucket Issues Automatically with 2-Way Updates

If you’re trying to connect Asana and BitBucket, you’ve come to the right place. Putting these two powerful tools together can give your internal processes a boost by taking you a step closer to automating BitBucket operations. One way to do that is to create a 2-way sync with Unito that enables you to keep an eye on your Asana task list by creating, updating and organizing them automatically. Unito is SOC 2 Type 2 certified with strict security measures in place, so you know you’re in good hands.

You can use the same steps and principles in this guide to sync BitBucket with other project management tools, including Trello, Wrike, Jira, monday.com, ClickUp and more.

Why connect Asana and BitBucket?

Connecting BitBucket to Asana is a smart next step for anyone familiar with the basics of workflow automation, since integrating these powerful tools enables you to:

  • Create a new task in Asana whenever you create a BitBucket issue with a specific assignee or issue type; then automatically set that task its own tag, assignee and section in Asana.
  • Create a BitBucket issue based on new (or historical) Asana tasks with specific tags, assignees, or from a specified section / column.

Taking time to build this automated workflow means saving hours down the line by automating a basic manual function that you no longer need to worry about. All it takes is a set of rules and field mappings in Unito to establish a 2-way integration connecting Asana and BitBucket.

Here’s an overview of everything you can sync between Asana and BitBucket with Unito.

Who should connect Asana and BitBucket with Unito?

Anyone who works in a Git repository in 2022 can benefit from this workflow. That includes software developers, project managers, team leads and other professionals. It’s a great tool integration for sharing live visualizations of your team’s work and keeping everyone organized. This specific workflow can help anyone collaborating with teams internally or externally that use both a repository and a project management tool.

This guide will demonstrate how to connect Asana and BitBucket with Unito in one of many possible use cases. It is far from the only one, but hopefully it will show you a thing or two so that you can tailor it to your own needs.

Before we connect Asana and BitBucket

  • Ensure you have an account with the right permissions in both BitBucket and Asana. You don’t need to be the account owner, but you do need access to the project and repo you’ll be connecting to Unito.

Contents

Feel free to skip ahead if you’re already in the middle of building this workflow:

Step 1. Connect Asana and BitBucket to Unito

Step 2. Set a flow direction between Asana and BitBucket

Step 3. Set rules to sync Asana and BitBucket

Step 4. Select field mappings to sync BitBucket issues to Asana tasks

Step 5. Save, close and launch your flow

Step 1. Connect Asana and BitBucket to Unito

Navigate to the Unito App and select +Create Flow. On the next screen, select Start Here to connect Asana and BitBucket. Choose the accounts you wish to connect to Unito. Then, specify a specific Asana project and BitBucket repository.

Connect Asana and BitBucket with Unito tool selection
In the above example, Elaiza has connected her Asana project to a demo BitBucket repo.

When you’re ready, select Confirm.

Step 2. Set a flow direction between Asana and BitBucket

Choosing a flow direction tells Unito if we want new Asana tasks to create BitBucket issues, vice versa, or both.

Set a flow direction between Asana and BitBucket with Unito
In our demo, we’ll choose a one way flow from BitBucket to Asana so that tasks will be created when our team in BitBucket wants to assign work to a specific Asana backlog.

Learn more about flow directions.

Select Confirm when you’ve chosen a flow direction. 

Step 3. Set rules to sync Asana and BitBucket

When you Add a new trigger you can tell Unito which specific actions in Asana or BitBucket will enable new tasks or issues to appear in the other.

Set rules to sync Asana and BitBucket with Unito
In this example, we’ve told Unito to create an Asana task whenever a BitBucket issue is created in our specified repo. These new Asana tasks will then appear in our section / column “Backlog” with the tag “BitBucket”.

Rules provide flexibility to decide how Unito can best help you eliminate manual tasks, such as updating teams about project status, assigning work to specific people, requesting support or adding useful tasks to a backlog for future projects.

Find out more about setting rules.

Step 4. Select field mappings to sync BitBucket issues to Asana tasks

Unito considers most details of your Asana tasks or BitBucket issues to be fields. You can review the full list of fields and more in this overview of Unito’s Asana – BitBucket integration.

Select + Add mapping, then Select a field in both Asana and BitBucket to pair two fields together.

Each field can be synced one-way in either direction or bidirectionally.

Select field mappings to sync BitBucket issues to Asana tasks
The gear icon beside certain fields means you can add another layer of precision with values. See below for an example.
Select custom fields to sync BitBucket issues to Asana tasks
Within Section / column, we’ve told our Unito flow to sync any open[new] BitBucket issues with Asana tasks in the following Asana sections: Backlog, To Do, In Progress, Waiting on Client, Done. So once Unito creates a task in our Asana backlog based on a BitBucket issue, it will keep that task in sync even if we move it into these other sections.

Learn more about Field Mappings

Click Confirm when you’re satisfied with your field mappings to proceed.

Step 5. Save, close and launch your flow!

And that’s it! You’ve just completed a flow to connect Asana and BitBucket. Congratulations!

If you’ve followed the steps above, your flow will now: 

  • Create Asana tasks from our BitBucket repo and assign them to our Backlog with the “BitBucket” tag.
  • Allow those tasks to stay in sync if they are moved between the sections: Backlog, To Do, In Progress, Waiting on Client, Done.
BitBucket interface synced with Unito
Here is our BitBucket interface before syncing with Unito.
Asana interface synced with BitBucket through Unito
Here is our Asana project after connecting to BitBucket through Unito.

If you have any questions, don’t hesitate to reach out and let us know. 

What’s next after connecting Asana with BitBucket?

If you’re interested in seeing what else you can do with Unito, here are some articles to help you power up your workflows: