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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

300 views 3 11
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