Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I retain formatting of an issue.description while sending emails and teams messages

James_Gigantes
Contributor
December 28, 2022

I would like to send emails and MSTeams messages that retain some portions of my issue.description. Currently I cant send Tables with formatting, images, or any other type of formatting. I have tried htmlEncode JsonEncode xmlEncode functions. Not sure how to pass the object so the message can show the description with more detail and information available in the description. 

Jira automation:

automation redacted.JPG

 

 

 

 

Examples : 

Issue description currently looks like this description.JPG

 

The output message looks like this (I would like it to look like the description box above):examplemessage.JPG

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2022

Hi @James_Gigantes 

Short answer: I do not believe that is currently possible using the Description markup you show.

According to the automation documentation, there is only basic markup supported for the Send MS Teams message action: https://support.atlassian.com/cloud-automation/docs/use-automation-with-microsoft-teams/

And, the example rules in the automation library show using basic HTML for a list of issues or a single issuehttps://www.atlassian.com/software/jira/automation-template-library/slack-ms-teams.

I see no explanation of translating the markup in the description field into something consumable by that rule action.  Perhaps you can experiment with the other possible field editors for Description to see if that would work.

Regarding any images, those are stored in Jira as attachments, and I do not believe the built in actions can send the image.  You could try sending a link to the specific attachment to observe the result.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events