Skip to content

Use allowlist of allowed attributes for imported models (part 2)

What does this MR do and why?

This change changes the behavior that is responsible for filtering out attributes when importing new project. We were cleaning attributes based on list of excluded patterns and attributes. For Milestone, Board, BoardList, ProjectCustomAttribute, Label, LabelPriority, ProjectCiCdSettings and PushRule we are changing that behavior.

How to set up and validate locally

  1. Create new project, configure Board, add Milestone, add Custom Attribute (using API), add one Issue and create new Labels (and prioritize them), configure CI/CD Settings and Repository Push Rules.
  2. Export that project.
  3. Create new project by importing previously exported package.
  4. Verify if project is imported along with configured settings.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #341267 (closed)

Edited by Alan (Maciej) Paruszewski

Merge request reports