lfShowFieldMessage
Availability
This routine is available starting with
- Power Scripts 2.5
- katl-commons 2.5
Syntax
lfShowFieldMessage(field, message, messageClass)
Description
Displays a message for the given field.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | Specifies the field for displaying the message |
message | String | Yes | Message itself |
messageClass | String | No | 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: this message was DEPRECATED, please use the INFO messageClass
If the messageClass is not specified an info message will be displayed as default.
Example
lfShowFieldMessage("assignee", "Assignee changed", "SUCCESS");
On the issue screen, the message will be displayed like in the image below:
On the edit screens the message will be displayed like in the image below:
See also