Page History
Page properties | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
JWT is capable of processing various types of lists, including text, number and issue lists. This page contains valuable information about working with lists. |
The list data type is an ordered list of elements. Those elements have a certain data type (text or number).
It is possible to:
- access individual elements (e.g. using the function nthElement()),
- create lists out of virtual fields (e.g. using toStringList()) or
- use the list functions presented on this page to work with lists.
Fixed values
A list can be written in literal as a comma separated list of texts in double quotes written inside brackets.
Expression | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| An empty list. | ||||||||||||
| A text list with five elements. | ||||||||||||
| A number list with three elements. | ||||||||||||
| A number list with three elements using field codes and JWT expression parser functions. To achieve this, the following virtual field codes: | ||||||||||||
| A text list with all components of the current issue.
|
Reading values from issue lists
Most of the times, lists are being defined or returned using field codes or JWT expression parser functions. In order to read or retrieve values from an issue list, functions such as fieldValue() must be used.
Expression | Description | |||||||
---|---|---|---|---|---|---|---|---|
| A list of all assignees of the current issues's sub-tasks. The list may contain duplicate user names. To achieve this, the following functions were used: | |||||||
| A list of all distinct assignees of the current issues's sub-tasks. The list only contains unique user names. To achieve this, the following functions were used: | |||||||
| A list of priorities of those issues linked to current issue through issue link types "blocks" and "is cloned by". To achieve this, the following functions were used: | |||||||
| A list with distinct components of all issues which are linked to same epic as the current issue. To achieve this, the following functions were used: |
Excerpt | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Available operators
Order of operationsIf you use multiple operators in a single expression, they will follow a certain order in which they are processed or a precedence.
|
Search | ||||
---|---|---|---|---|
|
List functions for multiple list types
UI Text Box | ||
---|---|---|
| ||
The following list contains all the available functions that work with all kinds of lists; text, number and issue lists. |
Page properties report | ||||||||
---|---|---|---|---|---|---|---|---|
|
Number list (only) functions
UI Text Box | ||
---|---|---|
| ||
The following list contains all the available functions that work with number lists only. |
Page properties report | ||||||||
---|---|---|---|---|---|---|---|---|
|
Issue list (only) functions
UI Text Box | ||
---|---|---|
| ||
The following list contains all the available functions that work with issue lists only. |
Page properties report | ||||||||
---|---|---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|