We recently spoke with customers who want all the advantages and benefits of being standardized on the Atlassian platform with Bitbucket, with an integrated experience across planning, source control, CI/CD, and beyond, while still being able to take advantage of using GitHub Copilot.

In this blog, we’re excited to demonstrate how easy it is to use GitHub Copilot alongside your Bitbucket repos. Additionally, we’ll show how you can help keep developers in the flow by bringing context from across Atlassian tools right into your editor with the Atlassian Rovo for GitHub Copilot extension.

Set up the Copilot extension within VS Code

These are intended to be general instructions. Please review the extension link below for installation and configuration details.

  • If you don’t have VS Code, download it here.
  • Get into VS Code, and install the Copilot extension. (extension is also compatible with Jetbrains IDEs, or text editors like Vim/Neovim – full list is in the link)
  • Enable the extension and configure it to your preferences.

Connect to Bitbucket repositories

  • Clone your Bitbucket repositories and open your code files in VS Code
  • Now, when you write code, you can use all the Copilot features in VS code linked to your Bitbucket repositories.
  • Once you’re done writing code, you can push changes to Bitbucket and continue with pull requests, and go through to deployment.

Extend Copilot further with the Atlassian-Copilot extension

With the Atlassian-Copilot extension that is part of Atlassian Rovo, our AI product, your can tag @atlassian-rovo in VS Code to get additional context from Jira and Confluence right from within VS Code.

Get the extension and watch this demo.

Native AI features within Bitbucket Cloud

Once code is pushed into Bitbucket Cloud, you can continue to use AI features within Bitbucket to help you with the code review process, which can get your PR approved quicker and get to production.

  • AI PR descriptions: Atlassian Intelligence analyzes your code changes and commit messages to craft a clear and concise PR description so your reviewers have context of code changes. Learn more
  • Add AI Code review to your pipeline: To accelerate code reviews, add the AI code review pipe into your CI/CD pipeline. With this pipe, AI will act as a code reviewer and leave comments in your code and provide suggestions for improvement based on syntax and code conventions.
  • AI Chat: Next year, AI chat powered by Atlassian Rovo, will launch in Bitbucket Cloud. With Rovo chat, you can use AI to get context from Jira or Confluence, right from within Bitbucket. For example, you can prompt AI with questions like ‘what Jira issues are linked to this PR’ or ‘summarize the code changes in this PR.’

Additional Atlassian AI features that are now in early access:

  • Go from issue to PR within minutes with Autodev agent: Use AI to turn a Jira description into a step-by-step technical plan, automatically generate code, and create a pull request in a snap.
  • Fast track code reviews in Bitbucket with Autoreview agent: Instantly analyze code, receive recommendations for areas of improvement, and even get suggested code edits within the pull request.

To get on the waitlist for early access to these features, sign up here.

Other code generation tools you can use

There are several other code generation tools similar to Copilot you can use within VS Code or other IDEs. Learn more about these tools and choose the one that works best for your team. Note that code generation tools within the IDE also work with repositories from Bitbucket Data Center.

How to integrate GitHub Copilot with Bitbucket, Jira & Confluence