Safety considerations and limited access to some of the data necessitated the introduction of additional features to the search engine.
Secure Field Plugin adds "issue in search" function. This function takes from 2 to 4 arguments rounded by quotation marks.
issue in secureFieldSearch("", "", "")
1 - custom field's name
2 - operator's name
3 - custom field's value
Note: custom field's value is not required in case of using operators such as isEmpty or isNotEmpty
Operators that are defined for the particular field types are listed below:
Secure Text | Secure Free Text | Secure Number | Secure List | Secure Multi Select List | Secure Single User Picker | Secure Multi User Picker | Secure Single Group Picker | Secure Multi Group Picker | Secure Date | Secure Date Time | |
---|---|---|---|---|---|---|---|---|---|---|---|
= | x | x | x | x | x | x | x | x | x | x | x |
!= | x | x | x | x | x | x | x | x | x | x | x |
> | x | x | x | ||||||||
>= | x | x | x | ||||||||
< | x | x | x | ||||||||
<= | x | x | x | ||||||||
isEmpty | x | x | x | x | x | x | x | x | x | x | x |
isNotEmpty | x | x | x | x | x | x | x | x | x | x | x |
startsWith | x | x | x | x | x | x | x | x | |||
endsWith | x | x | x | x | x | x | x | x | |||
contains | x | x | x | x | x | x | x | x |