Integrations

GitLab and Bitbucket: code changes alongside project errors

Read-only commits, GitLab self-hosted too, and failed CI pipelines in the error stream.

SLAtech Vantage reads commits from a GitLab or Bitbucket repository and keeps them in the project: the author, timestamp, commit message and changed files. When an error comes in, it looks for commits that modified the same class, so it is clear what changed there recently. Nothing is written back to the repository. Our team sets up the connection.

What each connection needs

  • GitLab: the server address (gitlab.com or your own), the project path as group/repo, and a personal access token with read access. Self-hosted servers are fully supported, and the connection is always over https.
  • Bitbucket: the repository path as workspace/repo (you can paste the address from the browser), the Atlassian account email, and an API token with the read:repository:bitbucket permission. Bitbucket Cloud only.

Each repository is a separate connection. The token is stored encrypted and never shown again.

What comes in

  • From each commit: the SHA, the message, the author and the date. In GitLab the author is whoever wrote the code, not whoever applied the change.
  • Files: the names of changed files and the number of lines added and removed. From GitLab also the change itself. From Bitbucket only the names and counts, up to 100 files per commit.
  • GitLab CI: as a separate connection, failed pipelines enter the project's error stream every hour, next to errors from Sentry and the other systems.

When

  • Commits are pulled once a day, at night, only new ones, within the connection's time window.
  • Failed GitLab CI pipelines are pulled every hour.
  • On GitHub commits are pulled every hour. Details are on the GitHub page.

What happens with the code

  • Links to errors. For every changed file the file name without its extension is kept, which usually matches the class inside it. When an error mentions a class with that name, the commits that modified the file are shown next to the error. It is a match by name, not proof that the commit caused or fixed the error.
  • Search. Commits that touch code in any common language (C#, JavaScript, TypeScript, Python, Java, PHP, SQL and more) also go into project search, with Hebrew search, and personal details are masked before processing. Config files, images and third-party libraries do not.
  • The client sees neither the commits nor the error stream. The portal chat may answer from a commit message, without a link to the repository.
  • Commits are not linked to tasks.

What does not come in

  • Read-only. SLAtech Vantage does not push code, open issues or comment.
  • Merge requests, pull requests and issues are not taken from either.
  • Bitbucket Server and Data Center are not supported, only Bitbucket Cloud.
  • Disconnecting removes the connection and the token. Previously imported commits remain in the project.
  • The project sources screen is open today to the system operator only, so our team sets up the connection.

Frequently asked questions

Is self-hosted GitLab supported?
Yes, it is the main case, which is why the server address is a field in the form. The connection is always over https.
Does SLAtech Vantage write anything to the repository?
No. The connection is read-only: it does not push code, open issues or comment.
Why does Bitbucket ask for an API token and not an app password?
Atlassian stopped issuing app passwords for Bitbucket and switched off the existing ones. Sign-in is now with the Atlassian account email and an API token with read access to repositories.
Does the client see the code?
No. Commits and the error stream are internal. The portal chat may answer from a commit message, without a link to the repository and without the code itself.

Want to see what changed in the code next to the error the client reported? You can start with a trial.

Start a free trial