Forums

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

How to add {html} tag around description to display HTML content.

Aivo Lelle November 21, 2011

Hi.

I'm creating issue from HTML email and in order to have description readable I need to have {html} tag in the beginning and at the end of description field.

How to do this automatically when issue is created?

Thanks!

BR,

Aivo

2 answers

1 accepted

0 votes
Answer accepted
Aivo Lelle November 23, 2011
Thanks for suggestion, but I solved it with plugin JIRA Workflow Toolbox post functions. Needed {html} tag is added to hidden dummy field with "Copy parsed text to a selected custom field". Then I use "Copy or add a custom field's value to issue description" twice to add content of my dummy field in the beginning and at the end of description. It works fine.
Any drawbacks doing it like this?
0 votes
Jobin Kuruvilla [Adaptavist]
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.
November 21, 2011

You will have to create a new mail handler which will wrap the description around {html} tags.

Another option is to do it in a Listner or Create Post Function where you will have to identify the issues created via mail and modify the description!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events