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

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 @ https://thepluginpeople.atlassian.net/browse/JEMH-2002

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.

@issueType=Request

@priority=High

@Company= Customer

@CustomField=#$$Ticket-ID$$#



@description=whatever



Log-Diary:

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.

Thanks.

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,327 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot