Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-22424

Square brackets removed from friendly-from of received emails when using smart values in the send email automation action

XMLWordPrintable

      Issue Summary

      If square brackets and a smart value (or more) are entered in the From Name field of the "send email" automation action then the square brackets and the text among them will not appear in the friendly-from field of the received email

      Steps to Reproduce

      1. created a Jira Automation rule that, on specific conditions (e.g. issue commented), uses the "send email" automation action to send an email to your address
      2. Set something like [JIRA] followed by some text in the From Name field.
      3. Trigger the rule and see that the received email will correctly show the text from above step
      4. Now set the From Name field to, for example:
        [JIRA] {{reporter.displayName}}
        

      Expected Results

      The received email will show [JIRA] followed by the name of the reporter of the issue that has been commented

      Actual Results

      Only the reported name is displayed.  [JIRA] has totally been removed from the friendly-from:

      Workaround

      Putting the text in the From Name field among quotes seems to work fine and returns the same result of step #3 above:

      "[JIRA] {{reporter.displayName}}"
      

       
      However, if the reporter has special characters in their name (for example: ä, ö, ü) then the double quotes are shown in the friendly from field of the received email. 

       

        1. From-Name.jpg
          From-Name.jpg
          9 kB
        2. From-Name-received.jpg
          From-Name-received.jpg
          11 kB
        3. From-Name-received-smart-values.jpg
          From-Name-received-smart-values.jpg
          7 kB
        4. From-Name-smart-value.jpg
          From-Name-smart-value.jpg
          24 kB

              Unassigned Unassigned
              dbonotto Dario B (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: