Attach mail to an issue

Hi Atlassian,


We're using JIRA 7.1 Software, with a definite incoming Mail.

Is it possible to attach the incoming mail to the issue in .eml?

We developed a plugin for JIRA 4.3 with the SOAP API, but, with the new API, the script can't work.

Here is how it looked like in JIRA 4.3:

image2016-6-2 11:59:9.png


Does someone know how to do it with JIRA 7.1?


Best Regards,


2 answers

1 accepted

0 votes
Accepted answer

JIRA 7.1 build in mail handler does not have such function. You will need a plugin for it.

If you dont fancy develop your own plugin, you can always pick a solution from Atlassian Market. There are few plugins that can attach email. One of them is EMH:


Hi Hangsu,


I downloaded a free trial version of your plugin,

but, when i send an email to test the handler,

the test fail. Without showing why^^ 

Do you have an user guide or something?


Best regards, Damien.

Hi Damien,

When you say the test failed, what happened there exactly?

would be great if you can create a ticket here:

and provide more information.

Hi @Hangsu Ma,


The fail was only my fault smile

I have another problem right now smile

I have my Project "Crash Tesr", key "TC". Is it possible to create an issue with a key different of TC-1, TC-2, TC-3... SUP-1 for example?


Moreover, does your Mail Handler always create a new issue when I send an email? Can he recognise an issue key to add a comment?


Best Regards, Damien.

Hi Damien,

The issue created by mail handler in a project is always using the project key. I am guessing you just need a way to differentiate issues created from mail handler and issues created by user. If that's the case, they you can try set email handler to create a specific type of issue, or add a label on the issue.

For the comments, yes, if your email subject contains a valid issue key, it will be added to that issue as comment. Or if your email is a reply to a email which created an issue through mail handler, then it will always become a comment of that created issue.

Hi Nic, 


I tried to use this link to help me changing the plugin. But, it don't really help me, for this, we use different scripts java/shell.

And, a lot of methods used are not present in your link. 


As example, is the script 4.3. And what I tried to do in .


The changes between the two scripts are too much important to juste use this guide sad



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,725 views 17 21
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