How to delete project-specific notification configuration?

Hi! :wave:

I configured a project to give it a specific notification level. It’s working fine. But now I adjusted my global notification settings and I realize I no longer need to have a project-specific config for notifications. How do I delete it?

Here’s what I tried:

  • Adjusting the project notification settings from /profile/notifications: adjusting works but it is not being deleted
  • Adjusting the project notification settings from /mygroup/myproject: same result
  • Deleting the notification settings from the API: curl -X DELETE --header "PRIVATE-TOKEN: mytoken" https://mygit.com/api/v4/projects/myprojectid/notification_settings I’m getting a 404.

I’m running self-hosted Gitlab CE 12.9.2-ce.0.

Thanks!

I would love that, to help cleanup my preferences page.
It looks like they don’t support it, so it would have to be a feature request.
One such request is: How to restore default notification setting of a project? (#220861) · Issues · GitLab.org / GitLab · GitLab
Perhaps throw an upvote on that one :slight_smile:

Hey @qayshp thanks for the heads-up! It’s great to hear that there are other people in the same boat :slight_smile:

I managed to resolve the issue by writing directly into the postgres database:

gitlab-psql
select id, email from users; # find my user id
delete from notification_settings where user_id = ...; # delete all notification associated to my user

I just hope that I didn’t break anything in the process…