Open jnothman opened 6 years ago
Hmm... do you have a link to the docs for this?
https://developer.github.com/v3/enterprise/. Apart from the API endpoint, authentication etc should be identical to a private repo.
So I just looked at doing this, and while it's straightforward to add a custom override for the hostname, I remembered that this script uses a secret GitHub API for importing issues: https://gist.github.com/jonmagic/5282384165e0f86ef105
I'm doubtful that GHE supports this endpoint, and I don't have access to a GHE instance to test. Perhaps @jnothman you do?
Note that you'll need to pass a custom header to the API call (see the gist for details).
Yes, that works fine on the GHE instance I have available.
On 21 October 2017 at 10:05, Jeff Widman notifications@github.com wrote:
So I just looked at doing this, and while it's straightforward to add a custom override for the hostname, I remembered that this script uses a secret GitHub API for importing issues: https://gist.github.com/ jonmagic/5282384165e0f86ef105
I'm doubtful that GHE supports this endpoint, and I don't have access to a GHE instance to test. Perhaps @jnothman https://github.com/jnothman you do?
Note that you'll need to pass a custom header (see the gist for details).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jeffwidman/bitbucket-issue-migration/issues/92#issuecomment-338341881, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEz65FsGKsWHH9HvHSZ7-P0xX8TJjwzks5suScqgaJpZM4P9HMx .
This may only require replacing https://api.github.com with https://ghehost/api/v3