Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

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

Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourBlue
title2.1.21




Panel

Supported list types

Table of Contents
exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Number list

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
distinct(number list l) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
distinct([1, 2, 1, 3, 4, 4, 5])


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


Code Block
languagebash
linenumberstrue
distinct(fieldValue({00012}, linkedIssues("is cloned by")))


This example returns a number list 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.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list



Text list

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
distinct(string list l) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
distinct(["blue", "green", "yellow", "blue", "yellow"])


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


Code Block
languagebash
linenumberstrue
distinct(fieldValue(%{00003}, subtasks())) 


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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx

Status
subtletrue
titledata type

Parameter description.
xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titletext list



Issue list

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
distinct(issue list l) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
distinct(linkedIssues())


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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list