Send an attachement to user using JEMH

We are using the Enterprise Mail Handler (JEMH) and its great. But we have a problem which hopefully someone here can help with.

By default we want our comments NOT to go to the external user. So we have done that by limiting the comments event, and have added a workflow transition called "Email the customer". It allows you to email the customer, using a custom event. It works perfectly. JEMH processes it without any problem.

Here's the issue.

If we want to send a attachment to the customer, I can enter [^filename] in the comment, and it will send a attachement. It resolves properly and appears that the attachment will be sent just fine. The problem is that when the external user receives the message. There is no attachment. The text is there, but it is just that, straight text. Has anyone ever tried to send an attachment this way, and if so, how did you do it?

4 answers

1 accepted

Thank you. I see that its something that Andy is working on.

This widget could not be displayed.
I do almost exactly the same thing. But I made a custom screen that allows me to attach the file at the same time I add the comment. I seem to remember the instructions say something about JEMH only recognizing attachments added within 10sec of the comment, so maybe that's why my approach works.
This widget could not be displayed.

Hi Jo-Anne,

I had thought I'd responded to this, my tablet must have eaten it :/ So, yes, the intial solution dealt with incoming email and related imagery/attachments. The time window was there to stop other users attachments being added (as duplicates) to later updates via email.

The sceanrio you mention doesn't quite fit, but its reasonable to expect. I've created https://thepluginpeople.atlassian.net/browse/JEMH-1506 for that. I'd hope to look at this in the next few weeks.

This widget could not be displayed.

Hi Jo-Anne,

I am trying to accomplish almost the exact scenario and would appreacite any help you can be in explaining how you accomplished the functionality on your end.

What I want is that the comments be not sent out to external users altogether but to be sent to internal users without any issue.

There will be cases when customer has to be asked something and in such cases I want to insert a transition which when triggered sends the comment entered part of the transition to the external customer and on reply adds back that comment to the issue.

I am using JEMH for this purpose but jsut don't know how I can stop comemnts going out to external user and at the same time allow all comemnts to flow to internal user. At this moment all comments flowing to everyone.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
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