Skip to content

Milestone titles should be unique in group hierarchy

Brett Walker requested to merge 424736-milestone-titles-unique-in-heirarchy into master

What does this MR do and why?

Currently milestone titles are unique between a project and its parent group. But this still leads to duplicates with higher level groups.

We will now check for title uniqueness in ancestors and any children.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  • Create a group and a subgroup.
  • Create a milestone in the main group and name it "Milestone A"
  • Try to create a milestone in the subgroup with the same name, you should not be able to
  • Create "Milestone B" in the subgroup. Then try to rename it to "Milestone A". This should fail.

Related to #424736 (closed)

Edited by Brett Walker

Merge request reports