JEMH configuration for email to be sent on EVENT

Hi Guys !

I'm looking for a solution to send email on EVENT to an email address (already) store in a customfield.

Normally JEMH is doing the job but I have some difficulty to catch this field.

Currently I installed JEMH plugin setup and do this :

  • PROFILE
    • only one specific project
    • Assign non jira-users Name to Text CustomField : mycustomername
    • Assign non jira-users Email to Text CustomField : mycustomeremail
    • Addressee Handling : toCustomField
    • Non JIRA account holder to a Text CustomField : mycustomeremail
  • New event created : sent to customer
  • Event "sent to customer" setup in a new "Issue Event Template Set"
  • Listener enable
    • new project mapping
    • project mapping settup on created "Issue Event Template Set"
  • New event added in the workflow transition

Tell me if I'm not clear !!!

Sven.

4 answers

Hi Sven. If you have defined the custom event in JIRA, fire that event somehow, JEMH Issuelistener will pick it up, but in order to notify anyone a few things need to have been done:

1. You must have created an appropriate IssueEvent TemplateSet for the custom event. This can be done from blank, or you can create a different event type template, and just switch the event type after.

2. The ProjectMapping against which the event relates must refer to the above TemplateSet

3. For JIRA user Notifications, the Notification Scheme is what controls who gets what. If your event is not listed in your notification scheme (with roles attached?)

From your description you have done the required steps, what is the custom event ID? Have you enabled logging via JIRA System admin screen 'Logging and Profiling' (package is: com.javahollic.jira.emh). If any event is received, it should log various decision points during processing?

Hi, I've followed your steps, but for some reason I only see the defaults mentioned under JEMH Event Mapping - Jira notifications of that project. Any idea why I don't see the custom templates I created under Template set and added in the project mapping? I created 2 templates: Issue resolved and Issue reopened, but they are not visible in the Project notifications list?! Thanks already

In the case of Jira-Notification - What do I need to choose in the configuration of the Notification:jira/non-jira/All/none?

Depends, there are two approaches, the Notification: approach you mention is the simpler Profile driven route, only done for issue creation, nothing else. The more advanced Event Listener approach caters for all issue events:

Please read https://thepluginpeople.atlassian.net/wiki/display/JEMH/Notifying+the+reporter+of+issue+creation

and for the 'full' approach using the Event Listener, be sure to go through:

- https://thepluginpeople.atlassian.net/wiki/display/JEMH/Configure+JEMH+for+a+Helpdesk+environment+from+scratch

In the case of Jira-Notification - What sdo I need to choose in the configuration of the Notification:jira/non-jira/All/none?

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

2,876 views 12 18
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