Regarding the default/internal MailListener, the documentation states:

      This listener is usually always turned on in JIRA - see Email Notifications for more details. If you want to write more complex or more specific notifications, you can disable the internal MailListener and add your own.

      However, as the MailListener is marked as 'internal', it is not possible to be remove it.

      At present, it is necessary to recompile the MailListener class and set isInternal to false.

      Need to allow users to delete/remove the MailListener through UI.

            [JRASERVER-8743] Unable to delete the default/internal MailListener

            AntonA added a comment -

            I think the best way to get around this problem is to ensure the projects which have special notifications sent by custom mail listeners do not have a Notification Scheme associated with them. This way the mail listener will be disabled for these projects.

            Unfortunately, allowing the Mail Listener to be deleted leads to users doing it by mistake. This then leads to notifications not working. Therefore we would prefer to make the system a bit more foolproof in this case.

            I will resolve this issue for now. Please let us know if this solution is not possible.

            Cheers,
            Anton

            AntonA added a comment - I think the best way to get around this problem is to ensure the projects which have special notifications sent by custom mail listeners do not have a Notification Scheme associated with them. This way the mail listener will be disabled for these projects. Unfortunately, allowing the Mail Listener to be deleted leads to users doing it by mistake. This then leads to notifications not working. Therefore we would prefer to make the system a bit more foolproof in this case. I will resolve this issue for now. Please let us know if this solution is not possible. Cheers, Anton

            AntonA added a comment -

            We need to be careful about this, as users might delete this by mistake. Need at least a warning message.

            I will reschedule for now as 3.5 is jam packed at the moment.

            AntonA added a comment - We need to be careful about this, as users might delete this by mistake. Need at least a warning message. I will reschedule for now as 3.5 is jam packed at the moment.

              Unassigned Unassigned
              keith@atlassian.com Keith Brophy
              Affected customers:
              2 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: