Iteration Report: Project-level view shows Group-level burndown
Summary
An Iteration created at the Group level and viewed at the Project level shows a burndown and burnup chart for the entire Group, while the counts and issue list are scoped only to the Project.
Steps to reproduce
- Create a Group with at least 2 Projects
- Create a new Iteration for the Group
- Add at least one Issue to the Iteration from each of at least 2 Projects
- Navigate to one of the Projects, then open the Iteration Report for the Iteration created above
- View the Burndown Chart and Burnup Chart issues relative to the Issue Counts at the top and Issue List at the bottom, note the inconsistency
Example Project
https://gitlab.com/iteration-burndown-test/project1/-/iterations/17637
What is the current bug behavior?
The behavior we observe is that the Project-level view correctly lists the issues (and issue count) just associated with that Project, however the Burndown and Burnup charts seem to include issue counts / issue weights for the entire Group (and thus don't match the rest of the report).
What is the expected correct behavior?
We expected that the Group-level Iteration Report would show the full burndown of all issues tagged in the Iteration, while the Project-level Iteration Report would show the burndown for just the issues in that Project tagged in the Iteration.
Relevant logs and/or screenshots
Output of checks
This bug happens on gitlab.com (we first encountered it on our company's self-hosted Gitlab running 13.9.4)
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)