Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function creates a variable for storing an issue list, and directly sets the values.

This value will be immediately returned and can be accessed by the getIssueList() function afterwards within the same expression.


Code Block
languagebash
titleSyntax
linenumberstrue
setIssueList(variableName, issueList) #Output: Issue list


UI Expand
titleExamples


Expression parserDescription


Code Block
languagebash
linenumberstrue
setIssueList("myIssueList",["KEY-1","KEY-2"])


This example creates a variable named "myIssueList", sets the values "KEY-1" and "KEY-2" and returns it accordingly.


Code Block
languagebash
linenumberstrue
setIssueList("st", issue.subtasks())


This example creates a variable named "st", stores all subtasks as an issue list and returns it accordingly.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
variableName

Status
subtletrue
titletext

A text for the variable name.
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 an 

Status
subtletrue
titleissue list


UI Text Box
typetip

To retrieve the value stored in the variable, use the function getIssueList() within the same expression.



Image AddedUse cases and examples

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


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

Creates a variable to temporarily store an issue list.

Output

Status
subtletrue
titleissue list

Available since

Status
subtletrue
colourBlue
title2.6.0

Label