Forums

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

Losing HTMl formatting for email requests

Ragvi Ttpt
Contributor
October 5, 2018 edited

Hi,

When we receive email requests from customer that has formatting in it, and when the ticket gets created in Jira, the description (we used the body of the email) field is losing all the formatting.  Is there a solution to this.

For Eg. when we receive an email with Bullets in it we are losing it once in Jira

- Email Body : 

  • test
  • test

- Jira Description: 

* test * test

 

- In some cases it shows up as  (wikimarkup) not sure how/why

* {color:#333333}test1{color} * {color:#333333}test2{color} * {color:#333333}test3{color} * {color:#333333}tes4{color} 

 

We send an email back to the customer with this Description from the Work Flow's PostFunction during Transition and that is when it is losing all it's formatting. In the PostFunction, the Format of the Email's Body I have it checked as HTML. 

I tried turning on the WikiStyle Renderer in the Field Configuration but that doesn't seem to help outside of the Jira System.

Would appreciate some guidance here.

Thanks.

Raghavi

3 answers

1 accepted

0 votes
Answer accepted
Ragvi Ttpt
Contributor
October 10, 2018

Hi Joe,

Thanks for the update. But I think you guys do have a solution to this. There is a string function called "wikiToHTML" . That seems to have fixed my issue. 

Eg.

{{{wikiToHTML(%{00001})}}} 

Gülçin Nacak June 25, 2019 edited

Hi @Ragvi Ttpt  ,

 

I have same problem. How did you solved this problem ? 

Raghavi Tatiparti - NOAA Affiliate
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2019

Hi,

I have mentioned the solution to my question in the thread you replied to !!.

There is a string function called "wikiToHTML" . That seems to have fixed my issue. 

Eg.

{{{wikiToHTML(%{00001})}}} 

 

Hope that helps.

Utku Kamacı June 27, 2019 edited

Hello @Ragvi Ttpt ,

 

We want to try it. Where should we implement this function? Can you please explain in detail? We are processing outlook mails to Jira Service Desk. Should we add script to call this function in create transition?

 

Thanks

Raghavi Tatiparti - NOAA Affiliate
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2019 edited

I am using this in the PostFunction of a transition, which is when we send emails out. So I have this in the body of the Email. 

If you are creating tickets in the service desk via emails then you could try adding this during your Create transition in the PostFunction , before the re-indexing and Issue created events are fired.

desarrollo March 19, 2021

Hello @Raghavi Tatiparti - NOAA Affiliate

We have an incident where some emails sent from another ticketing system are not formatted correctly in Jira, in their emails they use tables for signatures and the Jira does not format it correctly.

Could you tell me how you used the {{{wikiToHTML (% {00001})}}} to format the emails?

 

Thanks and best regards,

Gustavo Monsalve

0 votes
Saad
Contributor
November 20, 2018

I have the same issue

0 votes
Theinvisibleman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2018

Hey there Ragvi, as far as I know this is not possible in Jira out of the box. We do however have a feature request for this here : JRASERVER-65358.

Feel free to check it out, and if it matches your requirements, don't forget to Vote for it to show support and interest, as well as Watch the request, so that you will get notifications whenever there are any updates to it.

Suggest an answer

Log in or Sign up to answer