Time tracking report for merge requests is empty if issues are disabled for a project
Summary
Time tracking report for merge requests is empty if issues are disabled for a project
Steps to reproduce
- Create a new project and disable Issues via Settings > General > Visibility, project features, permissions > Issues
- Add some merge request to the project and log time spent
- Click
Time tracking report
in a merge request - it will be empty
Example Project
Link to a project on GitLab.com: https://gitlab.com/atanayno/time-tracking-test/
What is the current bug behavior?
Time tracking report is empty, though time spent is logged:
What is the expected correct behavior?
Time tracking report should still show data for merge requests when issues are disabled on a project level.
Relevant logs and/or screenshots
n/a. In the browser console, the graphql request to mrTimeTrackingReport
returns empty output.
Output of checks
This bug happens on GitLab.com. Also reproduced on a self-managed instance with GitLab 15.2.1.
Workaround
Enable Issues for a project.