Versions Compared

Key

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


Panel

Supported list types

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


Image AddedNumber list

UI Text Box
sizemedium
typeinfo

This function returns the number of elements in a number list.


Code Block
languagebash
titleSyntax
linenumberstrue
count(numberList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
count([1, 1, 2, 2])


This example returns

4


Code Block
languagebash
linenumberstrue
count(subtasks()) - count(fieldValue({00012}, subtasks())) 


This example returns the number of sub-tasks with an empty "Due Date".

To achieve this, the following functions are used:



UI Expand
titleAdditional information
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

Parameters used in this function

Short descriptionReturns the
ParameterInput (data type)Description
numberList

Status
subtletrue
titlenumber

of numeric values in l.Output

list

Any given number list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber




of numeric values in lThis variant counts how often a given number appears in a number list.

UI Text Box
sizemedium
typeinfo

The function returns the

Status
subtletrue
titlenumber


Code Block
languagebash
titleSyntax
linenumberstrue
count(number, list lnumberList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
appendcount(1, [1, 1, 2, 2, 1, 0]


This example returns 

3



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)
The
Description
number

Status
subtletrue
titlenumber

Any given number.
numberList

Status
subtletrue
titlenumber list

Any given number list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber

: 4



Image AddedText list

UI Text Box
sizemedium
typeinfo

This function returns the number of elements in a text list.


Code Block
languagebash
titleSyntax
linenumberstrue
count(textList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
count(["blue", "red", "blue", "black"])


This example returns

4


Code Block
languagebash
linenumberstrue
count(distinct(fieldValue(%{00094subtasks()) - count(fieldValue({00012}, subtasks())) 
The function returns the
)


This example returns the number of components selected among all sub-tasks.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
textList

Status
subtletrue
titletext list

Any given text list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber




UI Text Box
sizemedium
typeinfo

This variant counts how often a given text appears in a text list.


Code Block
languagebash
titleSyntax
linenumberstrue
count(text, textList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
count("blue", ["blue", "blue", "red", "red", "blue", "green"])


This example returns 

3 of sub-tasks with field "Due Date" unset.



UI Expand
titleAdditional information

Parameters used in this function

<parameter>
ParameterInput (data type)Description
text

Status
subtletrue
titletext

Any given text.
textList

Status
subtletrue
title

data type

text list

Any given text listParameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber



Image AddedIssue list

UI Text Box
sizemedium
typeinfo

This functions returns the number of elements in a given issue listThe function returns the number of times n appears in l.


Code Block
languagebash
titleSyntax
linenumberstrue
count(number n, number list lissueList) #Output: Number


UI Expand
titleExamples


1, [1, 1, 2, 2, 1, 0]The function returns a
Parser expressionDescription


Code Block
languagebash
linenumberstrue
count(
subtasks())


This example returns the number of all subtasks.

To achieve this, the following function is used:


Code Block
languagebash
linenumberstrue
count(filterByIssueType(subtasks(), "Technical task"))


This example returns the number of all subtasks that are Technical tasks.

To achieve this, the following functions are used:


Code Block
languagebash
linenumberstrue
count(linkedIssues("is blocked by"))


This example returns the number of all linked blocking issues.

To achieve this, the following functions are used:


Code Block
languagebash
linenumberstrue
count(filterByResolution(linkedIssues("is blocked by"), ""))


This example returns the number of unresolved blocking issues.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList

Status
subtletrue
title

number

issue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).
: 3



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_count" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloudcount()
Map(tick)
Notes




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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



Page properties
hiddentrue


Short description

Returns the number of elements in a text, number or issue list.

Output

Status
subtletrue
titlenumber
 

Available since

Status
subtletrue
colourBlue
title2.1.32

Label

Status
colourRed
titlestaff pick