Milestones with duplicate name at different group levels cause Activity links to break
Summary
The milestone links in the Activity log of an issue are not correct if there are 2 milestones with the same name at different levels.
Steps to reproduce
Create a Group Structure as follows:
Parent Group:
|- Subgroup
|
|-- Sub-subgroup
|---- Project
- Create a Milestone in Subgroup.
- Create a Milestone in Sub-subgroup with the same name as the previous milestone
- Create an issue in
Project
- Assign the both milestones to the project from the Milestone dropdown list (It is difficult to figure out which belongs to which anyway
😅 ) - Notice in the Activity log for the issue that both milestone events have the same URL.
Example Project
This project is private but please ask me for access and I will grant it.
It is easy enough to replicate anyway.
What is the current bug behavior?
The links to milestones in the event logs in the issue point to the same milestone.
What is the expected correct behavior?
The links to milestones in the event logs should point to different milestones.