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
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Corresponding value of a custom value in a matrix | Number | ||||
Prioritize the issues globally | indexOf() previousValue() issuesFromJQL() |