diff --git a/taiga/projects/management/commands/sample_data.py b/taiga/projects/management/commands/sample_data.py index b659096a..9a4d2b22 100644 --- a/taiga/projects/management/commands/sample_data.py +++ b/taiga/projects/management/commands/sample_data.py @@ -521,7 +521,7 @@ class Command(BaseCommand): epic.save() custom_attributes_values = {str(ca.id): self.get_custom_attributes_value(ca.type) for ca - in project.epiccustomattributes.all() if self.sd.boolean()} + in project.epiccustomattributes.all().order_by("id") if self.sd.boolean()} if custom_attributes_values: epic.custom_attributes_values.attributes_values = custom_attributes_values epic.custom_attributes_values.save()