Skip to content

Add alert when other issue tracker enabled

What does this MR do and why?

Add alert to show that another issue tracker is enabled as there can only be one enabled at a time. Also disabled the active checkbox so users cannot enable that integration. Applies to any of the following integrations:

  • Bugzilla
  • CustomIssueTracker
  • EWM
  • Jira
  • Redmine
  • Youtrack

Changelog: changed

Screenshots or screen recordings

Description Before After
Existing issue tracker Jira_before Jira_after
Other issue tracker EWM_before EWM_after

How to set up and validate locally

  1. Go to Project > Settings > Integrations.
  2. Enable any of the above integrations. For example, Jira.
  3. Go to a different integration from the list above. For example, Redmine.

Observe that an alert is shown to the user and the Enable integration checkbox is disabled.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #328470 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports