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

1 vote
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
Read article

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