Availability
This routine is available starting with
- Power Scripts 2.5
- katl-commons 2.5
Syntax
lfGlobalMessage(message, messageClass);
Description
Displays a global message.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
message | String | Yes | The message to display. |
messageClass | String | Yes | The message type. |
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.
- HINT: will display a hint message.
Example
lfGlobalMessage("This is a global message!", "ERROR"); // where message = "This is a global message!" and messageClass = "ERROR"
The message will be displayed on the issue screen like in the image below:
See also
-
lfDisable (Power Scripts™ for Jira 4.0)
-
lfShow (Power Scripts™ for Jira 4.0)
-
lfRefreshScreen (Power Scripts™ for Jira 4.0)
-
lfInstantHook (Power Scripts™ for Jira 4.0)
-
lfEnable (Power Scripts™ for Jira 4.0)
-
lfRedirect (Power Scripts™ for Jira 4.0)
-
lfShowFieldMessage (Power Scripts™ for Jira 4.0)
-
lfShowTab (Power Scripts™ for Jira 4.0)
-
lfSet (Power Scripts™ for Jira 4.0)
-
lfAllowSelectOptions (Power Scripts™ for Jira 4.0)
-
lfHideAllExcept (Power Scripts™ for Jira 4.0)
-
lfShowAll (Power Scripts™ for Jira 4.0)
-
lfDialogMessage (Power Scripts™ for Jira 4.0)
-
lfGlobalMessage (Power Scripts™ for Jira 4.0)
-
lfWatch (Power Scripts™ for Jira 4.0)
-
lfRestrictSelectOptions (Power Scripts™ for Jira 4.0)
-
lfExecuteJS (Power Scripts™ for Jira 4.0)
-
lfHideFieldMessage (Power Scripts™ for Jira 4.0)
-
lfDisableTab (Power Scripts™ for Jira 4.0)
-
lfEnableTab (Power Scripts™ for Jira 4.0)
-
lfHide (Power Scripts™ for Jira 4.0)
-
lfHideTab (Power Scripts™ for Jira 4.0)