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 text list in result of evaluating text_expression against each of the issues in argument issues.

Output Statussubtletruetitletext listAvailable since

Status
subtletrue
colourBlue
title2.2.2

UI Text Box
sizemedium
typeinfo

This function returns a text list in result of evaluating text_expression textExpression against each of the issues in argument issues.

Argument text_expression The parameter textExpression is an expression that returns a text, where references to field values of issues in argument issues are done with a prefix ^ using the function origin before field code.

e.g., ^%{00000%{function.issue.summary} is field code for Summary in each of the issues in argument issues.


Code Block
languagebash
titleSyntax
linenumberstrue
textOnIssueList(issue list issuesissueList, string text_expressiontextExpression) #Output: textText list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
textOnIssueList(subtasks(), ^%{00003%{function.issue.assignee} = ^%{00006%{function.issue.reporter} ? ^%{00015%{function.issue.key} : null)


This function example returns the issue keys of sub-tasks with the same user as a reporter and as an assignee.

To achieve this, the following functions are used;



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxissueList

Status
subtletrue
titledata typeissue list

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

Status
subtletrue
titledata typetext

A valid text expressionParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Image AddedUse cases and examples

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


Page properties
hiddentrue
id1


Parser function cloud
Map(question)
Notes

Workaround

Code Block
languagebash
let list = issue.links.map(l=>l.linkedIssue);
list.map(i=>issue.summary + " - " + i.priority.name)





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 text list in result of evaluating textExpression against each of the issues in argument issues.

Output

Status
subtletrue
titletext list

Available since

Status
subtletrue
colourBlue
title2.2.2

Label