Hi, I am trying to send out an automatic notification from JSM using send email component and when I try to copy over the content from the issue for example using the smart value {{issue.description}} or {{issue.description.htmlEncode}} it copies the description fine to the email that gets sent out but when there is a table or an image in the description it doesn't do it properly. Please advise the best possible way to copy the content on the description as it is to the email
Hi @Raghu Mani , (wasn't able to solve this, but adding my 2 Cents to the conversation)
The description in Jira is formatted with DOC type i.e. "type": "doc" (as per the API response), so it wont preserve the formatting when sending the data ahead using the {{issue.description}}.
In theory, perhaps you can attach the description as a PDF and then forward it. Although this too isn't OOB (reference https://community.atlassian.com/t5/Jira-Service-Management/Exporting-an-issue-to-a-PDF/qaq-p/1555206).
---
PS: (In my personal opinion) Jira being a Collaboration tool I don't think send mail like a "Mailing Tool" would be the best suited Use case :-)
Hi @Raghu Mani
Please take it with a pinch of salt, instead of using the default {{issue.description}}
smart value, have you tried using the {{issue.fields.description}}
? This may ensure that the description is handled correctly, including tables and images.
I hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tuncay Senturk Thanks for the advise, but unfortunately it does the same stuff if I try {{issue.fields.description}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.