[ONES] Add only one issue tracker limitation to ones
Related issue: #1161 (closed)
What does this MR do and why?
Add only one issue tracker limitation to ones.
This limitation is only triggered when the user manually modifies the integration.
For a project, only one issue type integration can be enabled at the same time.
This function is reused from the upstream, this MR is mainly to do some refactoring for JH.
Screenshots
Redmine is an integration of type issue_tracker
.
When project is configured other issue tracker
cc EM @prajnamas
由 Baodong 编辑于