Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Parsing {panel:bgColor=#deebff} to HTML tags in an Email generatetd via Project automation

Johan Eikeland August 10, 2020

Hi 

I have set up an automation project rule to send an email with the content of a filed in Jira service desk. 

In the email text I have added:

{{issue.fields.myfield}}

Regards {{Assignee.displayName}}

 

This works great as long as I only put text in the field. 

 If I ad a picture to this field using /  i get an email where this code is where the picture should be. !filename.png|width=1280,height=352!

If I add an Info pannel i get {panel:bgColor=#deebff} 

Is there some way to enable parsing for the code {panel:bgColor=#deebff} in to html for the email.  

I tried adding a comment with an information pannel and I recived an email with:

<p style='background:#DEEBFF'><span style='font-size:10.5pt;font-family:"Arial",sans-serif;
color:#333333'>Test<o:p></o:p></span></p>

 

Is there a way to enable parsing of {panel:bgColor=#deebff} tags used in jira in to HTML tags in an email ?

 

Regards Johan 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Johan Eikeland August 11, 2020

Changeing {{issue.fields.myfield}} to {{issue.fields.myfield.html}} solved it.

Suggest an answer

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

Atlassian Community Events