Supported list types
Number list
This function returns the index / position of a specified element in a number list.
Syntax
indexOf(number, numberList) #Output: Number
Text list
Variant for text lists.
Syntax
indexOf(text, textList) #Output: Number
Issue list
Variant for issue lists.
Syntax
indexOf(issueKey, issueList) #Output: Number
Variant where you define an issue list instead of an issue key.
Syntax
indexOf(issueList1, issueList2) #Output: Number
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Prioritize the issues globally | indexOf() previousValue() issuesFromJQL() |