Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-1475

Bulk operations send notifications to customers when "Send mail for this update" is unchecked

      Summary

      JIRA Service Desk notifications to customers are sent when a bulk operation is performed despite "Send mail for this update" being unchecked.

      Steps to Reproduce

      1. Create a few issues in a Service Desk Project;
      2. Run a simple filter to retrieve these issues;
      3. Run a bulk edit operation, to transition these issues and uncheck the "Send mail for this update" box.

      Expected Results

      No notifications should be sent

      Actual Results

      On the final move screen a message appears: "Email notifications will NOT be sent for this update."
      Notifications are still sent to customers

      Workaround

      There is no proper workaround for this issue, though there are 2 options available:

      1. Shortly disable the outgoing mail server, however this might also impact any other events that require notifications from JIRA.
      2. Shortly disable Service Desk notifications. This is less intrusive than option 1 however could still impact notifications on other events than the bulk operation.

          Form Name

            [JSDSERVER-1475] Bulk operations send notifications to customers when "Send mail for this update" is unchecked

            Hi mike315036612

            Yes, the SerivceDeskCommentEvent will include a new method

            boolean isSendMail()

            that indicates whether mail is expected to be sent or not.

            This will be in the version of Service Desk that is released along with JIRA 7.4.0. Currently it is planned to be 3.6.0.

            Regards
            Matt

            Matthew McMahon (Inactive) added a comment - - edited Hi mike315036612 Yes, the SerivceDeskCommentEvent will include a new method boolean isSendMail() that indicates whether mail is expected to be sent or not. This will be in the version of Service Desk that is released along with JIRA 7.4.0. Currently it is planned to be 3.6.0. Regards Matt

            Hello Matthew,

            Add-on developer here, just looking for some insight into what this fix entails. Lets say as part of the bulk edit operation a comment (internal or public) is added, and the "send mail for this update" box is unchecked. Does the ServiceDeskCommentEvent still get fired? If so, how would an add-on know that the "send mail" checkbox was unchecked? Will there be a boolean flag added to the event to show this?

            Thanks,

            Mike

            Mike Harrison added a comment - Hello Matthew, Add-on developer here, just looking for some insight into what this fix entails. Lets say as part of the bulk edit operation a comment (internal or public) is added, and the "send mail for this update" box is unchecked. Does the ServiceDeskCommentEvent still get fired? If so, how would an add-on know that the "send mail" checkbox was unchecked? Will there be a boolean flag added to the event to show this? Thanks, Mike

            This will be fixed in a version of JSD that is released with JIRA 7.4.0.

            Currently that is slated for a 3.6.0 release, but has possibility of being pushed back.

            Matt
            JIRA Service Desk developer

            Matthew McMahon (Inactive) added a comment - This will be fixed in a version of JSD that is released with JIRA 7.4.0. Currently that is slated for a 3.6.0 release, but has possibility of being pushed back. Matt JIRA Service Desk developer

              mmcmahon Matthew McMahon (Inactive)
              tevans Tim Evans (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: