Create issue button does nothing when group has no projects
Problem
The "Create issue" button in the group issues view does nothing when the group has no projects. A /-/collect_events POST request is fired, but there's no UI response and no error in the console.
Originally discovered here and discussion in Slack
Root Cause
The issue occurs because the group has no projects.
Expected Behavior
For the legacy issues list view (which this appears to be), it should show an empty state for creating a new project.
Context
This is related to the work items planning view empty state implementation (!213876 (merged)), which handles similar scenarios. The legacy issues list view may have been impacted by those changes or needs similar treatment.
Acceptance Criteria
- When a group has no projects, present the user with the action to create "New project".
Note
There is a follow-up (#580980) to improve the copy for this empty state.
Edited by 🤖 GitLab Bot 🤖