For what differs between this platform and the others, see Platform Support.
Prerequisites
- A Gitar organization (not a personal account) with the Admin role
- A Bitbucket account with administrator access to the workspace you want to connect
- Permission to install a Forge app on that Bitbucket workspace (workspace admin)
Setup Instructions
1
Open the connect dialog
In the Gitar dashboard, go to Settings → Configuration → Connections and click Connect Bitbucket (or use the “Connect your repositories” step during onboarding).
2
Connect your Bitbucket account
The first time you connect Bitbucket, Gitar asks you to authorize with your Bitbucket account via OAuth. This is a one-time step that lets Gitar list the workspaces you administer.
3
Select the workspace
Choose the Bitbucket workspace you want to connect to this Gitar organization. Workspaces already connected to your organization are marked as such, and workspaces connected to a different Gitar organization show as “Connected to another organization”. A workspace can only be linked to one Gitar organization at a time.
4
Install the Forge app
Gitar opens a new browser tab to Atlassian, where you install the Gitar Forge app.
Select the same workspace in Atlassian that you selected in Gitar. Installing on another workspace does not complete the pending connection. To link an app that is already installed, use Connect with a code.
5
Return to Gitar and wait
Atlassian does not redirect you back to Gitar after installation. Switch back to the Gitar browser tab yourself.
Connect with a code
If OAuth cannot list your workspace, or the app was installed before the workspace was linked to Gitar, use the connect-code option. You still need administrator access to the Bitbucket workspace.- Select the intended Gitar organization and open the Bitbucket connect dialog.
- If Can’t see your workspace above? is shown, expand it to reveal Connect by code instead.
- If the app is not already installed, use Open the Gitar install link to install it on a workspace you administer.
- Select Generate a connect code and copy it.
- In that Bitbucket workspace’s settings, open Forge Apps → Gitar, paste the code, and select Connect. Return to Gitar to check the connection.
Repository Access
Gitar discovers workspace repositories in the background. Open Settings → Configuration to check the list and toggle individual repositories on or off. If repositories are missing after discovery finishes, use Refresh in the Repositories card to retry discovery, including repositories created after installation.Permissions
The Gitar Forge app requests the following capabilities:
Gitar encrypts your code in transit and at rest, and does not use it to train AI models. Repository code is cached on encrypted file volumes to improve performance, and caches can persist across processing tasks. See Security for details about code handling and retention.
Limitations
A workspace can only belong to one Gitar organization
One Gitar organization can connect multiple Bitbucket workspaces, but each workspace can only be linked to one Gitar organization at a time. Trying to connect a workspace already claimed by another Gitar organization fails, and the workspace list marks it “Connected to another organization” instead of letting you pick it. If a workspace needs to move to a different Gitar organization, disconnect it from the first before connecting it in the second.App removal and credential failures
Gitar manages Forge credentials, so you do not need to rotate a PAT. Removing the Forge app disconnects the workspace and its repositories when Gitar processes the uninstall notification. Other credential failures are detected through failed token refreshes or clone operations. After repeated failures mark the connection unhealthy, Gitar emails the organization’s admins and shows a dashboard notification pointing to Settings → Configuration. A successful token refresh can clear a transient credential warning. Check whether the app is still installed and whether the connection recovers before reinstalling it. After reconnecting, confirm that the repositories you want reviewed are enabled.Troubleshooting
'Installation not detected' / the dialog timed out
'Installation not detected' / the dialog timed out
This usually means the install either was not completed on Atlassian, or was completed on a different workspace than the one selected in Gitar. Make sure you install the Forge app on the same workspace you selected in the Gitar dialog, then switch back to the Gitar tab. If the dialog already timed out, use Reopen install link to try again.
A workspace shows 'Connected to another organization'
A workspace shows 'Connected to another organization'
A Bitbucket workspace can only be linked to one Gitar organization at a time. If you need to connect it here, disconnect it from the other organization first.
I don't see my workspace in the list
I don't see my workspace in the list
Confirm that your Bitbucket account has administrator access to the workspace, then reconnect your account from the Gitar dialog. If the workspace still does not appear, use Connect with a code.
Gitar isn't reviewing my pull requests
Gitar isn't reviewing my pull requests
Confirm the Gitar Forge app is installed on the workspace and that the specific repository is enabled (toggled on) in the Settings → Configuration card.