Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This How To will take you through the configuration of the JEMHC Postfunction to drive notifications in response to workflow changes.

Table of Contents

 


Info

Velocity is a Template language used by JIRA, and JEMHC. It allows dynamic injection of 'values' into a template, a process called rendering. Velocity markup is not hard to learn, and the helper tools made available in JEMHC should make it very powerful and flexible.

...

After a short time, the JEMHC Postfunction editor will be shown.  Select an existing Ad hoc Template Set, the basic one created earlier will be in the drop down, remember to set TEXT as the format (as the example Template Set only provides that, and of course, the correct Ad hoc Template Set itself: 


For testing I'm going to set a static addressee to start with in the TO: recipient tab:

...

Email AddressesThis is a comma separated list of simpleemail adddresses
Address Custom FieldsThese are TEXT type custom fields (single or multi-line) that contain comma separated simple email addresses
Notify ReporterYep, that.
Notify AssigneeYep, that.
Notify WatchersYep, that.
Notify Current UserIncludes the user who triggered the change.
Notify Project LeadYep, that.
Notify Component LeadsYep, that.
Notify SD Request ParticipantsIf enabled, and JSD is installed (we should probably hide this if JSD is not installed) then the users within this field will be notified
Notify UsersThis is a comma separated list of usernames. (warning) Usernames require the 'workaround' user defined in the Workaround tab in order to lookup the users address
User Custom FieldsUser picker type custom fields (single or multiple) to include users for notification  


From

Sender Email Address can be defined, this is the literal from: address, varying it is useful in some situations but your outbound Mailserver must allow it, various outcomes will occur if it does not ranging from the default (connecting) account being used instead (Gmail), to no mail being sent at all (Exchange).

...

Any value present in the Webhook payload can be used in a notification, here are some examples:

(TODO)

How Many Emails Get Sent?

The behaviour of email-based postfunctions is that one email is sent that includes every recipient (To, CC, BCC).

 


Filter by label (Content by label)
showLabelsfalse
max5
spacesJEMHC
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "postfunction" , "adhoc" ) and type = "page" and space = "JEMHC"
labelspostfunction adhoc

Page Properties
hiddentrue


 
Related issues