'404 Error when I try to integrate JIRA with GitHub Enterprise

I am trying to integrate my GitHub Enterprise account with JIRA via the steps documented here: https://confluence.atlassian.com/display/AOD/Linking+a+bitbucket+or+GitHub+repository+with+JIRA+OnDemand

However, after I complete the process and hit "Add" and "Continue," I receive a 404 error from GitHub.

I've looked on JIRA's support site as well as here--can't find a solution. Does anyone know of one or a workaround? I'm thinking this is a bug.

Thanks!



Solution 1:[1]

Appears to be a know issue. Atlassian is tracking it here: https://jira.atlassian.com/browse/DCON-358

Solution 2:[2]

I had the same issue and just got it working. Make sure you set the URLs correctly in GitHub, both the callback URL and the authorization URL should look something like https://mycompany.atlassian.net if you are using hosted JIRA.

Solution 3:[3]

This issue sounds to me that it more likely has something to do with the GitHub repository access and the repository not being publicly accessible.

Check to see that the links within Jira are referencing an open and publicly accessible GitHub repository OR that your logged into your GitHub account that your trying to integrate with; using the same browser your also accessing Jira from.

Solution 4:[4]

What worked for me was removing my user name from the url:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Andy
Solution 2 Jondlm
Solution 3 spaceshipdev
Solution 4 Siddharth Mishra