lfGlobalMessage

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

Description

Displays a global message.

Parameters

Return Type

None

Example

Use the following code to display a global error message.

lfGlobalMessage("This is a global message!", "ERROR", "BIG"); // where message = "This is a global message!" and messageClass = "ERROR" and messageSize = "BIG"

The messageClass parameter can be:

  • ERROR: will display an error message

  • WARNING: will display a warning message

  • SUCCESS: will display a success message

  • INFO: will display an info message

 

If the messageClass is not specified an info message will be displayed as default.

 

The messageSize parameter can have one of the following values:

  • SMALL: will display a small message

  • MEDIUM: will display a medium message

  • BIG: will display a big message

If the messageSize is not specified a medium-sized message will be displayed as default.

See also