how to remove the generated list of default labels for issues from a gitlab project?

Solution 1:

Assuming a self-installation as recommended by Gitlab:

$ ssh your.gitlab
$ sudo su -l git
$ cd gitlab
$ bundle exec rails console production
> p = Project.where(path: 'your_project').first  # ensure this is your project
> p.issues_default_label_list                    # examine the default list
> p.issues_default_label_list = []               # removes all defaults
> p.save