Versions Compared

Key

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

...

JIRA 7+

JIRA 6.4


Code Block
#if($groupManager.isUserInGroup($recipientUser, "jira-administrators"))
  INHIBITED
  $jemhUtils.setInhibitSending(true)
  $jemhUtils.setInhibitSendingReason("Inhibiting notifiction to jira-administrators")
#end



Code Block
#if($groupManager.isUserInGroup($recipientUser.getDirectoryUser(), "jira-administrators"))
  INHIBITED
  $jemhUtils.setInhibitSending(true)
  $jemhUtils.setInhibitSendingReason("Inhibiting notifiction to jira-administrators")
#end


Inhibiting by user picker custom field

Code Block
##Customfield id format example customfield_00000
#set($inhibitTheseUsers = $issue.getCustomFieldValue("<your_custom_field_id>))

#if($inhibitTheseUsers.contains($recipientEmail.getUser()))
  $jemhUtils.setInhibitSending(true)
  $jemhUtils.setInhibitSendingReason("Inhibiting notifiction to jira-administrators")
#end

Inhibiting the ISSUE_CREATED notification when the issue was created by email

...

Filter by label (Content by label)
event listener jemh issue notification
showLabelsfalse
max5
spacesJEMHshowSpacefalse
sortmodified
typeshowSpacepagefalse
reversetruelabels
typepage
cqllabel in ( "macro" , "notification" , "velocity" , "event" ) and space = "JEMH"
labelsevent listener jemh issue notification
Page Properties
hiddentrue


Related issues



...