You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

Supported list types

Number list

The function returns a NUMBER LIST with all numbers in arguments l and m. Duplicated numbers may appear in the output.

If you want to avoid repetition, use the function union(l,m).
Syntax
append(stringListl, stringList2) #Output: Number list
Examples
Parser expressionDescription
append([1, 2, 3], [3, 4, 5])

The function returns a NUMBER LIST: [1, 2, 3, 3, 4, 5]

append(fieldValue({00025}, linkedIssues("is blocked by")), fieldValue({00025}, subtasks()))

The function returns a NUMBER LIST with Total time Spent (in minutes) in blocking issues and sub-tasks. This number list can be summed using function sum().

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a NUMBER LIST


Text list

The function returns a TEXT LIST with all strings in arguments l and m. The duplicated strings may appear in the output

If you want to avoid repetition, use the function union(l,m).
Syntax
append(string list l, string list m) #Output: Text list
Examples
Parser expressionDescription
append(["blue", "red", "green"], ["red", "green", "yellow"])

The function returns a TEXT LIST["blue", "red", "green", "red", "green", "yellow"]

append(fieldValue(%{00074}, subtasks()), fieldValue(%{00074}, linkedIssues("is blocked by")))

The function returns a TEXTLIST with Fix Version/s of sub-tasks and blocking issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a TEXT LIST


 Issue list

Returns an ISSUE LIST with all issues in arguments l and m. Duplicated issues may appear in output.

If you want to avoid repetition, use the function union(l,m).
syntax
union(issue list l, issue list m) #Output: Issue list
Examples
Parser expressionDescription
append(linkedIssues("is blocked by"), subtasks())

The function returns an ISSUE LIST of blocking issues plus sub-tasks.

If a sub-task is also linked with issue link type "is blocked by", it will appear twice in the output list.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a ISSUE LIST