/
arrayElementExists
arrayElementExists
Description
Returns "true" if the element exists in the array and "false" otherwise.
Parameters
Return Type
Boolean
Example
if( elementExists(watchers, currentUser()) ){
print("You are watching this issue.");
}
The function returns "true" if currentUser is in the watchers array and if the result is "true" a message is printed.
If elem is not the same type as declared in the array definition, the function returns "error".
See also
Related content
Power Scripts for Jira
Power Scripts for Jira
Read with this
arrayElementExists
arrayElementExists
More like this
contains
contains
Read with this
arrayElementExists
arrayElementExists
More like this
Variable types and reference methods
Variable types and reference methods
Read with this
arrayElementExists
arrayElementExists
More like this