Skip to content

Show "Issues" menu when Jira issues is enabled

What does this MR do and why?

When GitLab issues is disabled but Jira issues enabled, we still want to show the "Issues" menu to allow users to access Jira issues.

This was a regression:14.6 since in a previous MR #342466 (closed), we moved the Jira menu items from their own menu to the shared "Issues" menu.

Changelog: fixed EE: true

Screenshots or screen recordings

Note: The first 2 screenshots include a "Jira" link since it's setup as an "external issue tracker", which is different than the Jira issues integration.

Both GitLab and Jira issues disabled Only GitLab issues enabled Only Jira issues enabled Both GitLab and Jira issues enabled
Both_GitLab_and_Jira_issues_disabled Only_GitLab_issues_enabled Only_Jira_issues_enabled Both_GitLab_and_Jira_issues_enabled

How to set up and validate locally

  1. To enable / disable GitLab issues, go to Project > Settings > General, then expand the Visibility, project features, permissions section and toggle Issues. The URL should look like http://127.0.0.1:3000/gitlab-org/gitlab-shell/edit#js-general-project-settings.
  2. To enable / disable Jira integration issues, go to Project > Settings > Integrations > Jira. Configure the integration according to the docs, note that the Jira project key is required.

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 #349920 (closed)

Edited by Justin Ho Tuan Duong

Merge request reports