Number list
This function returns a number list with all numbers present in two lists simultaneously.
The returned list does not contain duplicates. The order is respected.
intersect(numberList1, numberList2) #Output: Number list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 1, 3 |
|
Bash
|
|
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number list |
Any type of number list. Learn more about working with lists. |
|
|
number list |
Any type number list. Learn more about working with lists. |
Output
This function returns a number list
Text list
Variant for text lists.
intersect(textList1, textList2) #Output: Text list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns blue
|
|
Bash
|
This example returns a text list of version/s that appear both in affected and fix version/s of the current issue, e.g. 1.1 To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any type of text list. Learn more about working with lists. |
|
|
text list |
Any type of text list. Learn more about working with lists. |
Output
This function returns a text list
Issue list
Variant for issue lists.
intersect(issueList1, issueList2) #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns a list with all sub-tasks which are also linked to the current issue. To achieve this, the following functions are used: |
Additional iformation
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any type of issue list. Learn more about working with lists. |
|
|
issue list |
Any type of issue list. Learn more about working with lists. |
Output
This function returns an issue list
(books) Use cases and examples
| Use case |
|---|
| No content found. |