...
addIndividualRecipientAddress
(
StringaddressCsv)
addIndividualRecipientGroup
(
StringgroupName)
addIndividualRecipientUser
(
Stringusername)
Examples
Code Block |
---|
$jemhUtils.addIndividualRecipientAddress("address1@test.com, address2@test.com, sender@test.com");
$jemhUtils.addIndividualRecipientGroup("individual-recipient-group");
$jemhUtils.addIndividualRecipientUser("user1@test.com"); |
Post Function / Ad-Hoc Notification Add Recipient methods
addRecipientAddress
(
StringrecipientType,
StringaddressCsv)
addRecipientGroup
(
StringrecipientType,
StringgroupName)
addRecipientsFromRole
(
StringrecipientType,
StringissueKey, com.atlassian.jira.project.Project project,
StringroleName)
Examples
Code Block |
---|
$jemhUtils.addRecipientAddress("to", "address3@test.com"); $jemhUtils.addRecipientGroup("cc", "recipient-group"); $jemhUtils.addRecipientsFromRole("cc", $issue.key, $issue.getProjectObject(), "Service Desk Customers") |
Application
The following details how each method can be used to notify additional recipients:
...