Supported list types
Number list
This function returns a number representing the index of numeric value element in number list l. Zero is returned when the element is not found in l.
indexOf(number element, number list l) #Output: Number
Text list
The function returns a NUMBER representing the index of text element in the text list l. Zero is returned when the element is not found in l.
indexOf(string element, string list l) #Output: Number
Issue list
The function returns a NUMBER representing the index in issue list l of issue with key issue_key. Zero is returned when issue is not found in l.
indexOf(text issue_key, issue list l) #Output: Number
The function returns a NUMBER representing the index in issue list l of first issue in element. Zero is returned when first issue in element is not found in l.
indexOf(issue list element, issue list l) #Output: Number