Number list
This function returns a number list with distinct elements from two lists.
union(numberList1, numberList2) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 1, 2, 3, 4, 5 |
|
Bash
|
This example returns a distinct number list of both affected and fix version/s id/s of the current issue, e.g. 10002,10000,10001 To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number list |
Any given number list. |
|
|
number list |
Any given number list. |
Output
This function returns a number list
Text list
Variant for text lists.
union(textList1, textList2) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns blue, red, green, yellow |
|
Bash
|
This example returns a distinct text list of both affected and fix version/s of the current issue, e.g. 1.1,1.0,2.0 To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any given text list. |
|
|
text list |
Any given text list. |
Output
This function returns a text list
Issue list
Variant for issue lists.
union(issueList1, issueList2) #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the issue list of linked issues and sub-tasks of current issue, without duplicates. To achieve this the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
Output
This function returns an issue list
(books) Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Add watchers from another field |
|