Project filter on Group security dashboard is empty for a group with projects in it
Summary
In a SOME groups with multiple projects in it, on the security dashboard the project filter only shows All Projects
https://gitlab.slack.com/archives/CETG54GQ0/p1590696187062200
Steps to reproduce
- Navigate to a group with many projects and many vulnerabilities
- Navigate to the group security dashboard
- Click on the project filter to select a project
Example Project
https://gitlab.com/groups/gitlab-org/defend/-/security/dashboard
What is the current bug behavior?
No projects are listed out to choose from. Only All Projects
is available
https://gitlab.com/groups/gitlab-org/defend/-/security/dashboard
What is the expected correct behavior?
All the projects are listed out to choose from
https://gitlab.com/groups/gitlab-org/-/security/dashboard
Output of checks
This bug happens on GitLab.com
Debugging
Based on the screenshot below of the GraphQL network requests:
- on the left is the problem project, Defend, which has zero projects returned in the GraphQL response
- on the right is a working project, Gitlab.org, which has many projects returned in the GraphQL response