Info |
---|
|
This routine is available since starting with JJUPIN - Power Scripts 2.5
- katl-commons 2.5
|
Syntax
lfGlobalMessage(message, messageClass);
Description
Excerpt |
---|
Displays a global message. |
Parameters
Parameter | Type | Required | Description |
---|
message | String | Yes |
The message .YesThe message .
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.
Note |
---|
If the messageClass is not specified an info message will be displayed as default. |
Example
Use the following code to display a global error message.
Code Block |
---|
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:Image Removed
Image Added
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 35 |
---|
showSpace | false |
---|
sort | title |
---|
cql | label = "lf_routines" |
---|
labels | jira_comment_routine |
---|
|