How to Connect a GitHub/GitLab/Bitbucket Repository

Adding a repository is done to parse commits from Git services for later analysis of developer work and studying project analytics as a team within the repositories.

You can add both individual repositories and repository groups (organizations) for parsing.

Your account must have access to these repositories.

How to Add a Repository for Parsing:

  1. Open Project → Edit Project → Repository tab.
  2. In the Repository tab, click on +
  3. Fill in the fields:
    • Project name → select the desired project.
    • Group/Repository name → enter the repository/group name.
    • Repository source → Specify where to parse commits. Enter the repository URL if only the repository access is needed. Enter the group URL if the entire group access is required.
    • Token → insert the token from GitHub/GitLab/Bitbucket.
  4. Is Active – check the box.
  5. Save.

How to Get a GitHub API Token

How to Get a GitLab API Token

How to Create a GitHub OAuth App

How to Get Bitbucket Secret/Key and API Token

How to Connect a GitHub/GitLab/Bitbucket Repository

Every hour at 00 minutes, parsers are launched, which parse data for the specified repository/group of repositories into Enji.

Sometimes there are cases when accounts from Git platforms are not matched in Enji for various reasons. For this, manual matching functionality has been added.