Support for custom JIRA configuration

Overview

Ticket: https://gitlab.zendesk.com/agent/tickets/52001

A customer has raised an issue with the new JIRA configuration options. They use a custom JIRA deployment which results in two separate hostnames and URLs for the JIRA web instance (user facing) and the REST API. After changes made in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6598 including the migration to the jira-ruby gem we no longer offer the ability to set custom URLs for issue, api. Only a single site url can be configured.

Problem

The customer has configured the site URL using the API URL, now all links generated use this URL which is not a user facing instance (API only). Clicking on the links from GitLab results in a 404.

Proposal

Allow "advanced configuration" of the JIRA service. Unfortunately the jira-ruby gem only supports the site url option.

@stanhu @regisF @felipe_artur

Assignee Loading
Time tracking Loading