When using smart values in automation rules for multi-line custom fields, the field is displayed even when empty.

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When using smart values in automation rules for multi-line custom fields, the field is displayed even when empty.

      Steps to Reproduce

      1. Create a text multi-line custom field. E.g. customfield_10123
      2. Create an automation rule to send email with the following content
        {{#issue.customfield_10123}}<b>Value:</b> {{.}}</br>{{/issue.customfield_10123}}
      1. Use the Create issue trigger for the automation.
      2. Create a new issue without adding a value to customfield_10123
      3. Noticed that the field does not appear in the email message sent by the automation.
      4. Create a new issue. In the Create Issue screen, add text to the field and delete it. Then, click the Create Issue button.
      5. Notice that the email message will contain the text "Value:" even though the custom field was empty.

      Expected Results

      The email message will not contain the text "Value:" if the custom field is left empty.

      Actual Results

      The email message will display "Value:" even if the custom field is empty.

      Workaround

      Use text single-line type of custom field.

            Assignee:
            Unassigned
            Reporter:
            Glauco (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: