Versions Compared

Key

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

...

Both Slack Notification Mapping and Slack Post Function behavior can be changed at runtime with a Velocity Script. The script can use the event data or be time based to change how notifications are performed.

...

Change Channel

Code Block
titleChange channel when Critical
#if ($context.issue.fields.priority.name.textValue() != 'Critical')
  $slackNotificationUtils.setChannel('AnotherChannelNameOrId') ## JEMHC looks for the channel by either name or id
#end

...