Default labels are not generated if the issues feature is disabled by default
Summary
If the issues
feature is disabled by default, the default labels won't be created after the issues
feature was activated for the first time.
Steps to reproduce
- Disable the
issues
feature in thegitlab.rb
:gitlab_rails['gitlab_default_projects_features_issues'] = false
- Create a new project
- Enable the
issues
feature via:Settings
->General
->Permissions
What is the current bug behavior?
Right now, the project is created without any labels.
What is the expected correct behavior?
The project should be created with the labels specified in the /admin/labels
section. It should make no difference whether the issues
feature was activated by default or manually.