Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26384

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

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • DVCS Accounts
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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.

            [JSWSERVER-26384] Add support for GitHub Enterprise Cloud environments hosted under *.ghe.com subdomains

            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            SET Analytics Bot made changes -
            Support reference count New: 1
            Security Metrics Bot made changes -
            Labels New: ril
            Security Metrics Bot made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 1012042 ]
            David Di Blasio created issue -

              Unassigned Unassigned
              ddiblasio David Di Blasio
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: