-
Type:
Bug
-
Resolution: Answered
-
Priority:
Low
-
Component/s: Action - Send Email, Rule - Smart Values
-
Severity 3 - Minor
-
Jira Service Management
Issue Summary
When sending an email action with smart value to convertToTimeZone adds a Narrow No-break Space (NNBSP) character 0x202f to the email content.
Steps to Reproduce
- Step 1
On an automation rule add a Send email action component. - Step 2
Add to the email content a smart value to retrieve the value of a custom field of type Date Time Picker. For example:
issue.customfield_12345.convertToTimeZone("US/Pacific").shortDateTime. - Step 3
Copy the content of the custom field received via email to a text editor like Notepadd++ or Sublime. The content will contain the Narrow No-break Space (NNBSP) 0x202f character.
Note: The email is received showing the correct date/time. Only when copying the value to another text editor the (NNBSP) 0x202f character is shown.
Expected Results
The email is received without containing the (NNBSP) 0x202f character in the Date Time Picker field value.
Actual Results
The email is received containing the (NNBSP) 0x202f character in the Date Time Picker field value.
Workaround
Edit the value copied manually to the same date format as shown in the email message received.