NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      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.

            [JRACLOUD-19957] Unable to delete the default/internal MailListener

            Hi there,

            While I suspect this was never so relevant for Jira Cloud, much time has passed and I wonder if there is still the need for this level of customisation. In the meantime, there are some changes in the pipeline that might also help to mitigate some of the other issues expressed in the comments above:

            https://confluence.atlassian.com/jirasoftwarecloud/blog/2019/02/jira-emails-are-changing

            In light of that, it doesn't align so well at the moment to allow this level of customisation in Jira, and we are actively working on other measures such as the above to improve the experience.

            I'll close this ticket for now, but feel free to comment further if additional needs should be raised.

            Oliver

            Oliver Hookins (Inactive) added a comment - Hi there, While I suspect this was never so relevant for Jira Cloud, much time has passed and I wonder if there is still the need for this level of customisation. In the meantime, there are some changes in the pipeline that might also help to mitigate some of the other issues expressed in the comments above: https://confluence.atlassian.com/jirasoftwarecloud/blog/2019/02/jira-emails-are-changing In light of that, it doesn't align so well at the moment to allow this level of customisation in Jira, and we are actively working on other measures such as the above to improve the experience. I'll close this ticket for now, but feel free to comment further if additional needs should be raised. Oliver

            Um, for what its worth, I approached this by (a) getting the project to remove its reference to the notification scheme, (b) using my own issue listener, hooked up to the users re-selection of said notification scheme through my plugin. As JIRA is not aware, the result is the same.

            Andy Brook (Javahollic Software) added a comment - Um, for what its worth, I approached this by (a) getting the project to remove its reference to the notification scheme, (b) using my own issue listener, hooked up to the users re-selection of said notification scheme through my plugin. As JIRA is not aware, the result is the same.

            MattS added a comment - - edited

            I don't think this is going to happen. It might one day if JIRA PMs revisited the whole mail infrastructure in JIRA - some projects need best-effort, immediate notification (think IM, SMS). Others need reliable email. Both need ways to reduce the number of notifications people get. I see a lot of filtering of JIRA messages out there.

            MattS added a comment - - edited I don't think this is going to happen. It might one day if JIRA PMs revisited the whole mail infrastructure in JIRA - some projects need best-effort, immediate notification (think IM, SMS). Others need reliable email. Both need ways to reduce the number of notifications people get. I see a lot of filtering of JIRA messages out there.

            Hmm, 4.4 EAP? seeing as not in 4.4, maybe 4.5? fingers crossed, again.

            Andy Brook (Javahollic Software) added a comment - - edited Hmm, 4.4 EAP? seeing as not in 4.4, maybe 4.5? fingers crossed, again.

            MattS added a comment -

            I'm upgrading a customer and one of their custom plugins needs this. I'm providing a patched system class to avoid it, which isn't very good practice.

            MattS added a comment - I'm upgrading a customer and one of their custom plugins needs this. I'm providing a patched system class to avoid it, which isn't very good practice.

            If this isn't going to be addressed, could the documentation at least be updated so as not to get our hopes up?

            Tim Kannenberg added a comment - If this isn't going to be addressed, could the documentation at least be updated so as not to get our hopes up?

            Just making ConsistencyCheckImpl not check isn't the only thing that needs doing. Some part of the install process would need to do the initial setup of listener. Subsequent deletion (and somehow notifying the admin of this) could be handled a bunch of ways. Fingers crossed for 4.2.1

            Andy Brook (Javahollic Software) added a comment - - edited Just making ConsistencyCheckImpl not check isn't the only thing that needs doing. Some part of the install process would need to do the initial setup of listener. Subsequent deletion (and somehow notifying the admin of this) could be handled a bunch of ways. Fingers crossed for 4.2.1

            MattS added a comment - - edited

            Technically, this issue's summary should read "Unable to stop JIRA recreating the default/internal Mail Listener", since it can be deleted via a URL. It would be worth checking whether that last assumption is still true in 4.2.

            MattS added a comment - - edited Technically, this issue's summary should read "Unable to stop JIRA recreating the default/internal Mail Listener", since it can be deleted via a URL. It would be worth checking whether that last assumption is still true in 4.2.

            So, not in 4.2, bah. 4.2.1? please?

            Andy Brook (Javahollic Software) added a comment - So, not in 4.2, bah. 4.2.1? please?

            MattS added a comment -

            It's a right pain to do custom mail listeners with this problem in existence.

            MattS added a comment - It's a right pain to do custom mail listeners with this problem in existence.

              Unassigned Unassigned
              73d805a2526b MattS
              Affected customers:
              36 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: