Opening epic dropdown in epic -> issues -> board causes network error
Summary
When selecting an issue in the issue board, and then trying to edit the epic. The request fails with a 500 because one of the params is not being calculated correctly.
Ex) https://gitlab.com/api/v4/groups/NaN/epics?include_ancestor_groups=true&include_descendant_groups=false
Steps to reproduce
- Go to https://gitlab.com/gitlab-org/gitlab/-/boards/1300253?label_name[]=devops%3A%3Aplan&group_by=epic
- Click on an issue to open the sidebar
- Click on edit on epics
- Notice an error is thrown
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
Possible fixes
Edited by Scott Stern