The text list parsing mode is exclusively being used in the Create issue post function and enables you to create issues based on multi-value custom fields, components and many more.
The output has to be a valid text list as defined in the Data types section.
All JWT expression parser functions, that return a text list can be used. Additionally, text lists can be composed using the toStringList() function.
Example expressions
Parser expression | Description |
---|---|
["Jira","Workflow","Toolbox"] | This examples illustrates how to compose a custom text list. |
fieldValue(%{issue.assignee}, subtasks()) | This examples returns 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: |
distinct(fieldValue(%{issue.assignee}, subtasks())) | This examples returns 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: |
Make sure to read all about working with Lists as they come with many extremely useful JWT expression parser functions.
List functions can also be used in the Advanced text mode. The difference is, that the output will be a flat text instead of a text list.
JWT offers individual operators that can be used when working with Lists. Combines the elements of two lists. LIST Returns distinct elements of two lists. LIST Returns common elements of two lists. LIST Removes certain elements from a list. LIST If you use multiple operators in a single expression, they will follow a certain order in which they are processed or a precedence.Available operators
Function Short description Output APPEND UNION INTERSECT EXCEPT Order of operations
OPERATORS PRECEDENCE ASSOCIATIVITY INTERSECT 1 (highest) Left-to-right APPEND, EXCEPT, UNION 2 (lowest) Left-to-right append
, union
, intersect
and except
.
If you still have questions, feel free to refer to our support team.