-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Rule - Smart Values
-
None
-
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
- Create a text multi-line custom field. E.g. customfield_10123
- Create an automation rule to send email with the following content
{{#issue.customfield_10123}}<b>Value:</b> {{.}}</br>{{/issue.customfield_10123}}
- Use the Create issue trigger for the automation.
- Create a new issue without adding a value to customfield_10123
- Noticed that the field does not appear in the email message sent by the automation.
- Create a new issue. In the Create Issue screen, add text to the field and delete it. Then, click the Create Issue button.
- 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.