Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Self-hosted gitlab integration issue


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.


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.





2 answers

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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:



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.



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

Like Dario B likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 05, 2021

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

Have a nice weekend!


@Andrew Guo : how did you configure the descriptor.json to install the gitlab app in jira? I have the same configuration as yours (self-hosted private IP for gitlab, jira on cloud).


Or did you skip this step?

@Andrew Guo , @Andrea Guarino , could you share the experience of the Jira Cloud to Self-hosted GitLab (private IP) integration, please?


Thank you!

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events