Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-37

Errors in Send Email action in Automation rules audit log should inform the key of affected issues

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      When Jira fails to send a e-mail message through Send E-mail action in Automation rules, the following error message is shown:

      Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty 

      However, when sending multiple e-mail messages to a list of issues (when using a Scheduled trigger with a JQL query, for example), it's not possible to identify the issue in which Assignee was empty since the affected issue's key is not informed in audit log.

      Steps to Reproduce

      1. Create an Automation rule using Scheduled trigger
      2. In Scheduled trigger, set a JQL query which returns more than one issue
      3. Be sure that one of the issues is Unassigned
      4. Add a Send E-mail action setting Assignee field as recipient

      Expected Results

      The audit log will show the list of the issues and the "E-mail sent" message. However, as one of the issues is Unassigned, the audit log will also show "Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty" error message, without informing the affected issue:

      This might be confusing, since the e-mail was not sent to all the issues and it's not possible to identify the issue to which the e-mail was not sent.

      Actual Results

      • In the "E-mail sent" message in audit log, only the not unassigned issues should be listed;
      • In the error message, the audit log should inform the key of affected issues

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              89403358cf11 Charlie Gavey
              itrojahn@atlassian.com Ilenice
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: