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
This 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
This 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(string issue_key, issue list l) #Output: Number
Variant where you define an issue list element instead of issue_key.
indexOf(issue list element, issue list l) #Output: Number