Bulk operations should read bulkEditBean.isSendBulkNotification once, not for each issue.

XMLWordPrintable

    • Severity 3 - Minor

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

      Bulk operations typically use a for loop to execute an action on each issue. After the action is performed, we read from the bean:

      boolean sendMail = bulkEditBean.isSendBulkNotification();
      

      this could be moved to the beginning of the method (before the for loop) to avoid inconsistencies if the bean is edited in another request.

      Known operations affected:

      • BulkDeleteOperation
      • BulkEditOperation
      • BulkWorkflowTransitionOperation

              Assignee:
              Unassigned
              Reporter:
              Nick Menere [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: