You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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

This value will be returned by the getIssueList() function, when used within the same expression.

Syntax
setIssueList(variableName, issueList) #Output: No output
Examples
Expression parserDescription
setIssueList("myIssueList",["KEY-1","KEY-2"])

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

setIssueList("st", issue.subtasks())
This example creates a variable named "st" and stores all subtasks as an issue list.
Additional information

Parameters used in this function

ParameterInput (data type)Description
variableName

TEXT

A text for the variable name.
issueList

ISSUE LIST

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

This function returns does not return a value.

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