Link your code: GitHub, GitLab and Bitbucket

Connect your repositories, then link pull requests and branches to the work items they belong to, so anyone can see what changed and why.

5 min readUpdated 20 November 2026

Connect a provider

The workspace owner does this once. Open Integrations (under More in the sidebar) and pick GitHub, GitLab or Bitbucket under Code & deploys. Then either:

  • select Connect GitHub (or GitLab, or Bitbucket) and sign in to approve, or
  • select Use a token and paste an API token with read and write access to the repositories Owl Role should follow (for Bitbucket, a workspace access token).

Owl Role acts through its own bot account, owl-role-bot, so nothing is posted as a person, and every write it makes is recorded in the actions log.

Choose repositories

On the connected provider, use Scope repositories (on GitLab, projects) and tick the ones Owl Role should see. Refresh picks up new repositories.

Branch names

Every work item suggests a branch name; select Copy branch name and use it when you start the work. Project leads set the pattern under the project's Labels page, in Branch naming.

Automatic detection

Owl Role also looks for pull requests that mention a work item's marker in their title, description or branch name, and lists them under Detected on the work item. Using the suggested branch name is the easiest way to get this.

Tokens and disconnecting

  • If a token expires or is revoked, the provider shows Replace token (or Reconnect). Replacing a token re-scopes the bot.
  • Disconnect deletes the stored credential and stops all reads and writes.