Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Self-hosted gitlab integration issue Edited

Hi guys,

I have setup gitlab-jira integration on my gitlab repo. Now, I can see all git commits and merge events on Jira ticket.

Environments:

Gitlab: self-hosted(Private IP)

Jira: cloud hosted(Public IP)

However, my company gitlab is self-hosted with private IP address(VPN). When I push my commits to gitlab, some Jira web links will be created automatically like below.

Screen Shot 2021-03-02 at 4.00.39 pm.png

 When I click on these links, the browser will try to connect to a unreachable server gitlab-server which is a default setting for gitlab integration on Jira end.

Screen Shot 2021-03-02 at 4.05.29 pm.png

But actually my gitlab server is self-hosted in my company VPN with private IP address. I suppose there should be a way to modify the default gitlab-server to a specified private IP address.

If anyone know how to modify the integrated gitlab server IP address please help.

Thanks in advance.

 

Regards,

Andrew

 

1 answer

1 accepted

0 votes
Answer accepted
Dario B Atlassian Team Mar 04, 2021

Hello @Andrew Guo ,

Welcome to the Atlassian Community!

If I understand correctly what you are saying the integration with Gitlab is only working one direction because, every time you try to open a pr, commit, etc link in Jira this tries to open the below url that is not reachable:

http(s)://gitlab-server/.....

 

In this case, since it is not possible to configure a VPN in Jira Cloud, I would suggest to edit the hosts file in your Operating System so that it will always resolve gitlab-server to the internal IP address you desire.

For details and instructions on how to do so please see below links:

 

 I hope this helps.

 

Cheers,
Dario

Thanks Dario, after adding an entry in my hosts file, it works for me.

Like Dario B likes this
Dario B Atlassian Team Mar 05, 2021

You are very welcome @Andrew Guo! I am happy to know this solved your issue.

Have a nice weekend!

Dario

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

214 views 3 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you