Status
Tech review

Style guide




Short description

Returns a  with all numbers, texts, or issues in list l without any duplication.

Output




Supported list types


Number list

The function returns a  with all numbers in list l without any duplication.


distinct(number list l) #Output: Number list



Parser expressionDescription


distinct([1, 2, 1, 3, 4, 4, 5])


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


distinct(fieldValue({00012}, linkedIssues("is cloned by")))


The function returns a of dates containing due dates of cloning issues, with only one occurrence per due date, although more than one issue may share the same due date.



Parameters used in this function

ParameterInput (data type)Description
<parameter>

Parameter description.



The function returns a



Text list

The function returns a with all text in list l without any duplication.


distinct(text list l) #Output: Text list



Parser expressionDescription


distinct(["blue", "green", "yellow", "blue", "yellow"])


The function returns a : ["blue", "green", "yellow"]


distinct(fieldValue(%{00003}, subtasks())) 


The function returns the list of assignees to sub-tasks, with only one occurrence per user, although a user may have more than one sub-task assigned.



Parameters used in this function

ParameterInput (data type)Description
<parameter>

Parameter description.
<parameter>

Parameter description.



The function returns a



Issue list

The function returns an  with all issues in list l without any duplication.


distinct(issue list l) #Output: Issue list



Parser expressionDescription


distinct(linkedIssues())


The function returns an  of linked issues, with only one occurrence per issue, although an issue may be linked with more than one issue link type.



Parameters used in this function

ParameterInput (data type)Description
<parameter>

Parameter description.



The function returns an