JavaScript - Examples

JavaScript examples for the Message Field application are available at GitHub

Update message on create

Update message with priority

Update message with priority and select field

Update message on create(SD)

Update message with priority(SD)

Update message with priority and select field(SD)

Update and hide message with 2 conditions by select fields(Service Desk)

Update and hide message with 2 conditions by select fields

Hide message if all fields are empty(View issue)

The script will check the custom fields on the view issue screen. If all fields are empty the message banner will be hidden.

Update message with bundled select(SD-create)


Custom colors and HTML
Script Runner Behaviours - Settings