Forums

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

GitLab for Jira App Login Fails with 404 When Using Custom Subpath (/gitlab)

Ruben Harutyunyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 14, 2025

 

Summary:
We are trying to integrate our self-hosted GitLab instance with Jira Cloud using the GitLab for Jira app, but encountering a login issue.

Details:
Our self-hosted GitLab server is accessible at:
https://gitlab.example.com/gitlab
(Note: the /gitlab path is intentional due to internal requirements.)

When attempting to log in to GitLab from Jira (via the GitLab for Jira app) to select projects for integration, the login window fails with a 404 Not Found error.

Upon inspecting the login URL, we noticed that an additional /gitlab is being appended, resulting in a malformed address like:
https://gitlab.example.com/gitlab/gitlab/
This causes the 404 error during the login attempt.

Request:
Is there a way to configure the GitLab for Jira app to respect the custom base path (/gitlab) without appending it again? Any advice or workaround would be greatly appreciated.

1 answer

0 votes
Marc -Devoteam-
Community Champion
April 14, 2025

Hi @Ruben Harutyunyan 

Welcome to the community.

Check this article from GitLab; self-managed-support-gitlab-for-jira-app 

Ruben Harutyunyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2025

Hey @Marc -Devoteam- thanks for your response,

We followed the official GitLab ↔ Jira integration guide but encountered a problem during the login step.
Our self-hosted GitLab instance is available at {{https://example.com/gitlab}}, yet when Jira redirects us for authentication it appends another “/gitlab”, resulting in {{https://example.com/gitlab/gitlab}}, and the login fails.

I hope that clarifies the issue—let me know if you need more details.

 

Marc -Devoteam-
Community Champion
April 28, 2025

Hi @Ruben Harutyunyan 

The app is probably not able to use a custom defined path, on doubts contact Atlassian Support.

Suggest an answer

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

Atlassian Community Events