Custom notifications settings not considered for epics

Requirements

Make sure that custom notifications work for:

  • Opening epics
  • Closing epics
  • Reopening epics

Summary

Custom notifications are not taken into account for epics

Steps to reproduce

  1. Go to your notification settings (https://gitlab.com/profile/notifications)
  2. Check "Receive notifications about your own activity"
  3. Change notification settings to "Custom" either globally or for a group (where epics are enabled)
  4. DO NOT check "New epic" option
  5. Go to the group with epics enabled
  6. Create an epic in the group

What is the current bug behavior?

You will receive an email that an epic has been created

What is the expected correct behavior?

You should not receive the email - custom setting should be taken into account.

Output of checks

This bug happens on GitLab.com

Possible fixes

I am not sure how exactly the recepients are built think the problem might be

Edited by Victor Wu