Skip to content

Promoting milestones from project to group level does not create forwarding rules for URLs

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When promoting a milestone from project to group level, the links to the original milestone simply show a 404 page instead of forwarding the browser to the corresponding group milestone.

Steps to reproduce

  1. Create a project milestone and copy it's URL
  2. Promote the milestone to group level
  3. Check that the URL of the project milestone shows a 404 page

Example Project

What is the current bug behavior?

Links to project milestones stop working when the milestones are promoted to group level.

What is the expected correct behavior?

Forwarding rules should ensure that using (old) links to project milestones forward the browser to the new milestone at group level.

Relevant logs and/or screenshots

  • Page before promoting:

    Screenshot_2022-06-09_at_11-45-15_Test_Milestone_to_Demonstrate_Promotion___Milestones___mlegner-test-group___Test___GitLab

  • Page after promoting:

    Screenshot_2022-06-09_at_11-45-54_Not_Found

Output of checks

This bug happens on GitLab.com

Possible fixes

After promoting a project milestone to group level, its number is not reused for milestones created afterwards, so forwarding should not be a fundamental issue. See this test project, where I did the following:

  1. Created a first milestone (assigned number 1)
  2. Promoted the milestone number 1 to group level
  3. The URL for milestone number 1 stopped working
  4. Created a second milestone; the second one was assigned number 2
Edited by 🤖 GitLab Bot 🤖