Skip to content

Links in Jira Issue List redirects to Jira base URL without Context Path

Summary

Large Premium Customer reporting links in Jira Issue List redirects to Jira base URL without Context Path despite configuring the correct link in Integrations app.

Link to ticket: (Internal)

Example:

JIRA URL: http://example.com/jira

Links on issue from GitLab points to http://example.com/ISSUE-123 instead of http://example.com/jira/ISSUE-12

Steps to reproduce

  1. Configure Jira running on a context path.
  2. Configure the correct Jira URL in GitLab integrations.
  3. Check Enable Jira issues.
  4. Navigate to GitLab Issues.
  5. Click on Jira issue.
  6. Get redirects to a 404 page, the URL shows that it is a Jira base URL missing the context path.

What is the current bug behavior?

Links in Jira Issue List redirects to a 404 page because the URL is missing the context path of Jira.

Users have to manually edit the URL and add in the context path.

What is the expected correct behavior?

Links in Jira Issue List redirects to Jira successfully.

Relevant logs and/or screenshots

Video available in ticket (Internal)

Output of checks

Results of GitLab environment info

GitLab 13.7

Possible fixes

Edited by Emily Chang