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

No approval notification is sent when populating the Approvers list using Automation for Jira rule with the Send Mail flag disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.4.1, 10.5.0
    • 5.12.15, 5.12.17, 10.3.2
    • Automation

      Issue Summary

      When using an Automation for Jira rule to populate the Approvers list, if the option "This rule should send emails" is disabled, no approval email will be sent from the "Approval required" JSM (legacy) automation.

      In the case of the approval notification automation, JSM should ignore the enforcement “shouldSendMail=false” from the event fired by Automation for Jira. This would allow the approval notifications to be sent regardless of this option.

      Steps to Reproduce

      1. In Automation for Jira, create a rule with the "Issue Created" trigger, and the "Edit Issue" action that will populate the Approvers field based on another field's value. Leave the option "This rule should send emails" unchecked.
      2. Create a new issue requiring approval in the Customer Portal.

      Expected Results

      An "Approval required" email is sent to the approvers.

      Actual Results

      No notification is sent to the approvers, even if the audit log for the "Approval required" automation shows the "Send email" action executed successfully. 

      Workaround

      Edit the Automation for Jira rule and enable the option "This rule should send emails".

      Versions Tested

      Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below: 

      Testing Requirements Version Affected Version
      Customers Reported Version 5.12.15 Yes
      Most Recent LTS 10.3.2 Yes
      Previous Supported LTS 5.12.17 Yes

              c8bcca445054 Benjamin Suess
              2b156221a02c Violeta Fulger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: