GitHub

In Yandex Tracker issues, you can automatically add links to commits from GitHub. To do this, specify the appropriate issue's key in the commit comment. The links will be placed on the Commits tab. For more information, see How to link a commit to an issue.

Connecting a repository

To connect your repository on GitHub to Yandex Tracker:

  1. Make sure you are authorized in Tracker as an administrator.

  2. In the left panel, click  Administration. Next, open  Repositories and click  Connect.

  3. Choose GitHub in the Platform field.

  4. Enter the public repository address in the https://github.com/<repository_owner_login>/<repository_name> format. Leave the Token field blank.

  5. Click Connect.

  6. Make sure that the repository status in Yandex Tracker is Connected.

  1. Make sure you are authorized in Tracker as an administrator.

  2. In the left panel, click  Administration. Next, open  Repositories and click  Connect.

  3. Choose GitHub in the Platform field.

  4. Get an OAuth token for your repository on GitHub:

    • Log in to GitHub. If the repository is linked to an organization on GitHub, make sure that you have admin rights for it.

    • Click your profile picture in the top right corner and select Settings.

    • In the left-hand panel, select Developer settingsPersonal access tokenTokens (classic).

    • Click Generate new token.

    • Enter a name for the token.

    • Configure permissions for the token. For Yandex Tracker to operate properly, enable the repo and read:org options:

    • Click Generate token.

    • Copy the token to the clipboard.

      The token value is displayed only once. If you close the page, you will not be able to view it again.

  5. Enter the repository address in the https://github.com/<repository_owner_login>/<repository_name> format and specify the access token.

  6. Click Connect.

  7. Make sure that the repository status in Yandex Tracker is Connected.

Own server

To connect your own server to Tracker:

  1. Make sure you are authorized in Tracker as an administrator.

  2. In the left panel, click  Administration. Next, open  Repositories and click  Connect.

  3. In the Platform field, select the service your server is connected to.

  4. In the Link to repository field, specify the URL of the repository on your server. Make sure that you connect to the server using the OAuth 2.0 technology.

  5. Get an OAuth token for your repository.

  6. In the Token field, enter the OAuth token for connecting to your server.

  7. Click Connect.

  8. Make sure that the repository status in Tracker is Connected.

For instructions on how to obtain an OAuth token, see the GitHub documentation.

Previous
Next