Trying to get the GitHub for Jira app working to integrate Jira Cloud with GHES but unable to.
1. the app expects a public url. Our GHES is behind firewall and we cannot setup a public url for security reasons.
2. we tried to setup a public facing url with the help of Mashery API gateway but the endpoint api/v3/app which the GitHub app for Jira uses internally doesnt seem to get through as it uses only JWT token which has an expiry time.
I have been fighting to get around this but unfortunately i have hit a deadend. Anyone here faced similar issue and was able to crack this ?
Cheers,
Sethu
Hey Sethu,
Have you tried the "step 2" of Set up your server's firewall on the following page: https://support.atlassian.com/jira-cloud-administration/docs/connect-a-github-enterprise-server-account-to-jira-software/
Because you won't be setting up a public-facing URL, you're on the right track using Mashery to setup a public-facing gateway instead. However, you wouldn't want to use an expiry token (maybe this is from Mashery?). There's a link on the page to some sample code to help configure a locked gateway. This will then give you an HTTP request header name and API key that should do the trick.
-Adam
thanks for the response Adam. i assume the reverse proxy nginx needs to be in the GH server for this to work. If it is then this doesnt help as i was told by GH support that any changes to nginx file will be overwritten when we apply a config to the server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.