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 | ||
Other issue tracker |
How to set up and validate locally
- Go to Project > Settings > Integrations.
- Enable any of the above integrations. For example, Jira.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #328470 (closed)
Edited by Justin Ho Tuan Duong