We currently have a project using JEMH plugin to create issues from e-mail, all works fine.
Now I need to create a new project to create issues from e-mail as well. So I setup new mail server and service, use the same emh.properties as current project and make up an e-mail from some of the custom fields in the current projects. I did then received the created issue notification from Jira, but the description field has html detailed coding in it, also the custom fields are not save to the database?
Your email _must_ currently be either (a) "text/plain" content email or (b) be mime multipart with a "text/plain" alternative content payload.
Parsing HTML only emails is not yet supported, please watch https://studio.plugins.atlassian.com/browse/JEMH-367
Thanks, Andy. I was expecting to see the banner but I could not see it. I use the same emh.properties from the existing project and the issues created in that project did have the above banner, so I wonder why I did not get one.
DEV is for development evironment, I was wondering if I can add some helpful information to the description/comment field before it is saved to the issue.
e.g. if I have the following e-mail sent to our existing project:
@field1=value1 @field2=value2 @project=project1 ***this is created via web application***More details
I got the following in the created issue (description field)
[Created via e-mail from: "firstname.lastname@example.org" email@example.com] .this is created via web application***More details
But if I use the above e-mail in my new project:
@field3=value3 @field4=value4 @project=project2 ***this is created via web application***More details
I got the following without the banner:
***this is created via web application***More details
I also noticed that the content is a bit different, my new project just copy what ever is on the email include the first three characters "***", but the existing project seems removed the first three characters "***" and add something else, I don't know how to do it. The existing project was setup by other people who already left the company, I have no idea why the two projects got different responds as they have the same emh.properties file?
I expected to have descrption field, e.g.
[Created via e-mail from: "firstname.lastname@example.org" <email@example.com>]
Created via the Datafeed Support web page ***
Details (from e-mail)
instead I got the following in the descrition field:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>@reporter=ttswjx<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>@project=TEST1<o:p></o:p></span></p><p class=MsoNormal><span
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs