Skip to content

Fix visibility of issue enforcement setting

What does this MR do?

Fix visibility of issue enforcement setting

This change ensures that Jira issue association is only enabled when project has a jira_issues_integration license and an active Jira integration. When the above conditions are not met, the Require an associated issue from Jira project setting is not shown.

How to test

  1. Log in as a user with the Project Maintainer role
  2. Navigate to Project > Settings > Integrations and select Jira
  3. Uncheck Enable integration checkbox
  4. Navigate to Project > Settings > General
  5. Confirm that Require an associated issue from Jira is not shown

Screenshots (strongly suggested)

merge_request_checks_jira_association_setting

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #333092 (closed)

Merge request reports