JEMH - Can JEMH create attachment from e-mail text?

Hi, we receive e-Mails with JEMH to create JIRA tickets. Within the e-mail text, there is huge text from logfiles. Can JEMH take parts of this text to a separate *.txt file as an attachment of the issue it creates? Thanks.

3 answers

1 accepted

Accepted Answer
1 vote

Its a nice idea, not currently implemented. How to know exactly where to start within the message content? JEMH can currently attach the 'original' content, mainly meaning HTML retains formatting. To do what you suggest would mean what with a HTML email, to take post-processed content and make an attachment out of it?

Some rules could be to set a size limit, eg 50 lines, of post processed content, if that is exceeded, perhaps the first paragraph is 'retained' with [...] added, and a wiki markup link to download the related extended content in the attachment?

Its a new feature for sure, logged @

Hi, yes, I think that's what I meant, just process HTML-like.

We use a template like this to send e-mails to JIRA via JEMH. At the end of the message, we add the log protocol, starting with a tag like Log-Diary.



@Company= Customer




part of the log-protocol ...

Would be nice, to have it although I am not sure, weather new versions of JEMH will be compatible to JIRA 5.1. I found no matrix on add-on-overview.


Hmm, well, potentially, something 'similar' to the bodyDelimiterRegexp could be added, allowing you to match on \nLog-Diary:\n , this and all following content could then be extracted and stored as an attachment. I'll add this to the issue.

marvellous, thank you!

np, please mark whichever answer was correct, thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

20,385 views 2 7
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you