Wrong work item iid appended in the url when clicked on 3rd level child in work item tree
Summary
Wrong work item iid appended in the url in the work item iid
Steps to reproduce
- Try to create an hierarchy in the work item with 3 levels , for example epic -> subepic -> issue -> task
- Try to open the hierarchy at the 3rd level and see that the url for new work item iid is wrong
Example Project
https://gitlab.com/groups/gitlab-org/plan-stage/-/work_items/208
In the above url click on Task 2 in the heirarchy
What is the current bug behavior?
What is the expected correct behavior?
The url should be appended with the work item iid
Relevant logs and/or screenshots
Screen Recording 2024-06-06 at 11.29.39 AM.mov
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 Deepika Guliani