Skip to content

Disabling issues feature results in 404 page when selecting create an issue

Summary

Toggling the issues feature in the project settings causes the Issues link on merge request code reviews to result in a 404 error.

Steps to reproduce

  1. Create a new private project, can be in your own namespace.
  2. Now go to Project Settings > General and expand the Visibility, project features, permissions section Disable Issues
  3. Save changes
  4. When you submit a merge request and then perform a review you have the option to resolve thread or create an issue. The create an issue icon is greyed out, but when selected it redirects you to a 404

What is the current bug behavior?

When the create issue icon ( greyed out) is selected you’re redirected to a 404 error page

What is the expected correct behavior?

The button should not be clickable. Instead it should show a tooltip with the text "You cannot create a new issue, as this project has issues disabled."

Relevant logs and/or screenshots

4132C60B-B2CE-4290-848A-1159B9BF87A9

916C6F5F-5D54-4266-B54A-9E2AF304A738

Output of checks

This occurs on GitLab.com, have not tested on self-hosted.

cc: @abentley_ssimwave

Edited by 🤖 GitLab Bot 🤖