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

Compare with Current View Page History

« Previous Version 27 Next »

Supported list types

Number list

This function combines two number lists.

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

This example returns the following number list: [1, 2, 3, 3, 4, 5]

append(fieldValue({issue.timeSpent}, linkedIssues("is blocked by")), fieldValue({issue.timeSpent}, subtasks()))

This example 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
list1

NUMBER LIST

Any given number list.
list2

NUMBER LIST

Any given number list.
Output

This function returns a NUMBER LIST


Text list

This 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().
Syntax
append(string list l, string list m) #Output: Text list
Examples
Parser expressionDescription
append(["blue", "red", "green"], ["red", "green", "yellow"])

This example returns the following text list["blue", "red", "green", "red", "green", "yellow"]

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

This example returns a text list with Fix Version/s of sub-tasks and blocking issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST


 Issue list

This function 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().
syntax
union(issue list l, issue list m) #Output: Issue list
Examples
Parser expressionDescription
append(linkedIssues("is blocked by"), subtasks())

This example 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
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST