Supported list types
Number list
This function returns the index / position of a specified element in a number list.
indexOf(number, numberList) #Output: Number
Text list
Variant for text lists.
indexOf(text, textList) #Output: Number
Issue list
Variant for issue lists.
indexOf(issueKey, issueList) #Output: Number
Variant where you define an issue list instead of an issue key.
indexOf(issueList1, issueList2) #Output: Number