Number list
This function returns the nth element of the given number list. N specifies the position of an element in a list. If the position is out of bounds (position <= 0 or position > count(list)), the function returns null . If the number list is empty, the function returns null .
nthElement(numberList, position) #Output: Number
Text list
This function returns the nth element of the given text list. If the position is out of bounds (position <= 0 or position > count(list)), the function returns null . If the text list is empty, the function returns null .
nthElement(textList, position) #Output: Text
Issue list
This function returns an issue list with the nth element of the given issue list. If the position is out of bounds (position <= 0 or position > count(list)), the function returns an empty issue list . If the issue list is empty, the function returns an empty issue list .
nthElement(issueList, position) #Output: Issue list
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Create several issues combining fields |
|
nthElement() toStringList() modulus() count() ceil() |