It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Any exist solution to parse html email by some lib from incoming emails

Hi! 

I know JEMH is cool, but we have a one of own legacy mail handler, with a big logic.

Anybody knows some solution for parse html email to wiki format for jira. 

My aim is good formatting, 

 

Thank you.

 

Gonchik Tsymzhitov

1 answer

1 accepted

1 vote
Answer accepted

Did you know that JEMH has pluggable Field Processor API's that you can implement your own 'big logic' part?  Then, you'd get the inline image support / HTML tag conversions, body cleanup (removal) and signature reply-to removals that JEMH did already?

Beyond that, you'll have to write a HTML parser that does the conversion, there is no open source library I know of that will do the conversion to wiki markup for you.

It sounds a perfect, 

but for use Processor API, I need to pay? Is it correct?

 

Thanks

Yes, JEMH would need to be licensed.  you would be creating an Addon for JEMH, that contains your handers processing code.  In a JEMH Profile configuration, you pick it as a 3rd part Field Processor, it gets the post html-wiki converted text and can then extracted through your big logic, any values that you need to set in custom fields etc.  Output of such a Field Processor module is a Map of found keys/values (ie your logic is just concerned about 'extracting' the data, not manipulating JIRA issues etc.

Andy,

what do you think to use JIRA bundle from JIRA Service Desk?

Atlassian-Plugin-Key
com.atlassian.jira.jira-email-processor-plugin
Bundle-Name
jira-email-processor-plugin
Bundle-SymbolicName
com.atlassian.jira.jira-email-processor-plugin


Thanks for your advice.
You get me a good idea.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,082 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you