Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get GitHub for Jira app working

Sethuraman Narayanan July 3, 2024

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

1 answer

0 votes
Adam G_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2024

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

Sethuraman Narayanan July 3, 2024

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. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events