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

This widget could not be displayed.

hi sohil..

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

https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+a+Custom+Message+%28Mail%29+Handler+for+JIRA

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 > https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email

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.

This widget could not be displayed.

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

46 views 1 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