Skip to content

Change logic of oauth_authorization_path for GitLab Jira App

What does this MR do and why?

Based on the JiraGitLab for Jira Cloud app feedback issue and #413652 (comment 1425545056), we had a problem with oauth_authorization_path for self-managed installation with relative_url_root configured.

We're removing prefix in case when relative_url_root is presented.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Update your gdk.yml file, and configure relative_url_root value. e.g.: relative_url_root: '/gitlab'
  2. Run gdk reconfigure
  3. Validate that relative URL is successfully up by checking some routes
  4. Use Jira Connect Test Tool to validate changes locally
Edited by Bojan Marjanovic

Merge request reports