Skip to content
G8Desk G8Desk Docs
Browse documentation

Git Providers & Connections

  • Ops Admin

When a ticket needs a code fix, your team can draft engineering issues from the ticket and push them to GitHub or GitLab after approval. Setting this up has three layers:

Layer Where Who
Git provider — the platform-wide G8Desk GitHub App Administration › Settings › Git Providers Platform administrator
Git connection — your GitHub organisation or GitLab group Setup › Git Connections Ops Admin
Repository — where a product's issues go Product page › Repositories Ops Admin

Setting up the GitHub App (administrators)

GitHub connections need the G8Desk GitHub App to be configured once for the whole platform. Until then, Install on GitHub is disabled on the Git Connections page.

Git Providers settings with GitHub selected and the Create the app automatically panel

Choose GitHub, then one of two options.

  1. Optionally enter the GitHub organisation that owns the app. Leave it empty to create the app under your personal GitHub account.
  2. Click Continue on GitHub and confirm there.

GitHub creates a private app with the right permissions, webhook and callback URLs, and hands the keys back to G8Desk.

Use an existing app

Create the app on GitHub yourself using the Callback URL & Setup URL and Webhook URL shown on the page, and enable Request user authorization (OAuth) during installation. It needs Issues read and write, Metadata read and Pull requests read, and the Issues and Pull request events. Then enter the App ID, App slug, Client ID, Client secret, Webhook secret and Private key (.pem), and click Save.

Or use an existing app form with callback and webhook URLs and empty credential fields

Note: Secrets are encrypted at rest and never shown again. Leave a secret field blank to keep the stored value. Clear stored settings removes the saved app.

GitLab needs no platform setup — each ops team connects its own group with an access token. Bitbucket and Gitea are not supported yet.

Git Providers settings with GitLab selected, explaining that no platform setup is needed

Adding a connection (Ops Admins)

Go to Setup › Git Connections.

Git Connections page with one active GitHub connection

GitHub

Click Install on GitHub and install the G8Desk app on your GitHub organisation, choosing which repositories it may access. You return to G8Desk with the connection added.

GitLab

  1. Click Add GitLab.
  2. Enter a Connection name.
  3. Paste a group or project Access token with the api scope and at least the Reporter role.
  4. Click Verify & save. G8Desk checks the token before saving it.

Add GitLab connection dialog with connection name and access token fields

Note: Self-hosted GitLab and GitHub Enterprise Server are available in the on-prem edition.

Connection actions

Each connection card's menu offers People, Test connection (confirms which account it connects as) and Remove. Removing a connection detaches its repositories from every product, and pending pushes fail.

Linking people to their git usernames

Open People on a connection to link each team member to their GitHub or GitLab username, so engineering issues can be assigned to them. Usernames are checked with the provider before saving. Clear a username and save to unlink it.

People page linking team members to GitHub usernames

Keeping issue status in sync

  • GitHub: issue and pull-request events arrive automatically through the app's webhook.
  • GitLab: on the connection's People page, click Generate secret, then add a webhook on the GitLab group (Settings › Webhooks) with the URL and secret token shown, and tick Issues events and Merge request events. The secret is shown once; Rotate secret replaces it, and the GitLab webhook stops working until you paste the new one.

Attaching repositories

Attach repositories from each product's page. See Managing Products.

How a handoff is approved

  1. An Ops Admin, Support Agent or Support Engineer drafts engineering issues on the ticket's Engineering tab.
  2. Another Ops Admin approves or rejects them. Nobody can approve a handoff they drafted, and a rejection needs a note, which goes back to the drafter.
  3. Approved issues are pushed to the repository in the background.

Clients see only that the ticket was escalated to engineering — never repository names, issue links or assignees.