Add support for GitHub Enterprise Cloud environments hosted under *.ghe.com subdomains

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: DVCS Accounts
    • 0
    • 4

      Issue Summary

      Jira's DVCS integration does not currently support GitHub Enterprise Cloud environments hosted under *.ghe.com subdomains. These are GitHub-hosted enterprise tenants that use a separate subdomain for API traffic (e.g. api.<subdomain>.ghe.com). The current DVCS connector only supports GitHub Cloud (github.com) and GitHub Enterprise Server (self-managed), which assumes both UI and API traffic are handled under the same base domain.

      Steps to Reproduce

      1. In Jira, navigate to Administration > DVCS Accounts and click "Link an account"
      2. Toggle the selector to GitHub Enterprise
      3. Enter a GitHub Enterprise Cloud subdomain (e.g. `my-org.ghe.com`)
      4. Authenticate and save the integration
      5. Wait for repositories to sync or view the activity log

      Expected Results

      DVCS should support GitHub Enterprise Cloud environments by properly routing API calls under api.<subdomain>.ghe.com and successfully syncing repositories and pull requests.

      Actual Results

      • Repository sync may appear partially successful.
      • Pull requests fail to sync.
      • The following error is observed:
        001x000001x1 abcd 10.10.10.13 /rest/bitbucket/1.0/repository/1/softsync [c.a.j.p.d.spi.github.GithubClientWithTimeout] Failed to execute request [GET /repos/{organization}/{repository}/events] response code: 404, errors: 
            Unable to complete request that contains suffixed values in the response payloads. (404)
        

      Workaround

      None.

            Assignee:
            Unassigned
            Reporter:
            David Di Blasio (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: