Email creates Issues

hello folks,

which event gets called when the incomming Email Service creates the issue.
can we detect that the created issue is created from which email service?

2 answers

1 accepted

1 vote
Accepted answer

hi sohil..

if you plan to re-invent the wheel just take a look at this tutorial :)

can we detect that the created issue is created from which email service?

you could add specific labels (jemh offers sth like this)

Yes let first hands on the above plugin tutorial.

"you could add specific labels (jemh offers sth like this)"

do you mean to detect the text in the email . thats seems to me manually done by each email sender?

in jemh you set up profiles and add several settings to them.

one of them is to add a specific label to the issue that gets created from an assigned email address (to the profile: per-project mapping or globally in the issue section)

one profile can hold several per-project mappings so every emailaddress that is mapped to it can be specified with a different value for the "Lable" field upon issue creation. but this is one giant of a plugin (extensions and configuration possibilities) so it may offers way to much than what you actually need only.

So i need to purchase JHEM plugin first ?
Is it not possible with any of the atlassian tools?

can we do something with atlassian tools that dont let me purchase the JHEM?

maybe something like this:

check this page >

repeat this for each project (one email address for each)

once you're done i guess with sth like "script runner" you can perform condition checks and update matching issues.

i might be wrong (we use JEMH to handle email processing so i never thought about alternatives) but i think this could work

In addition to the last comment, if the mail server you are using supports IMAP, you do not require to set up separate email addresses for each individual handler. please have a look at this article. It has initially been written with Gmail as mail server in mind, but it should work for any IMAP supporting mail server.

1 vote

The event for these issues is the normal "Issue Create" event. Out of the box, there is no direct way to determine if the issue had been created through mail or from the instance itself. Depending on your needs, you could consider setting the default reporter of mail handler to a specific user through which you can determine the source of the issue.

can we write a custom event which fires on the issue create event from the email service?

i have couple of more question about the same topic. let me ask it one by one in the same thread. :)

Please Mick put some reply on my comment

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 ...

1,086 views 4 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