Supported list types
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() |