Versions Compared

Key

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



UI Text Box
sizemedium
typeinfo

This function returns a number list with values of a given field from the given issues.


Code Block
languagebash
titleSyntax
linenumberstrue
fieldValue(numberField, issueList) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
fieldValue({issue.dueDate}, subtasks())


This example returns a number list of the sub-tasks' Due Dates.

To achieve this, the following functions are used:


Code Block
languagebash
linenumberstrue
sum(fieldValue({issue.cf10203}, subtasks()))


This example returns the sum of all story point estimates (with the custom field ID 10203) of all subtasks.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
numberField

Status
subtletrue
titletext

Any field code representing a number field or a selectable field.
issueList

Status
subtletrue
titleissue list

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list
.

If the issue list is empty or there are no values for the field in the given issue list, the function returns an empty 

Status
subtletrue
titlenumber list
.




UI Text Box
sizemedium
typeinfo

Variant for text fields.


Code Block
languagebash
titleSyntax
linenumberstrue
fieldValue(textField, issueList) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
fieldValue(%{issue.reporter}, subtasks()) 


This example returns the text list of the sub-tasks' reporters.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
textField

Status
subtletrue
titletext

Any field code representing a text field or a selectable field.
issueList

Status
subtletrue
titleissue list

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list
.

If the issue list is empty or there are no values for the field in the given issue list, the function returns an empty 

Status
subtletrue
titletext list
.


UI Text Box
typetip

This function always returns a list, even when only a single issue is read. The easiest way to return this single value then, is the usage of first().



Use cases and examples

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


Page properties
hiddentrue
id1


Parser function cloud
Map(question)
Notes

Workaround

Code Block
let issues = issue.links;
issues.map(i=>i.linkedIssue.summary)

This expression will allow us to access the summary of all the current issue's linked issues. This linked issues can be filtered, but I don't think it's possible to access issues which are not linked to the current issue.




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 a number or text list with field values.

Output

Status
subtletrue
titlenumber list
 
Status
subtletrue
titletext list

Label

Status
colourRed
titlestaff pick