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.


setIssueList(variableName, issueList) #Output: Issue list



Expression parserDescription


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.


setIssueList("st", issue.subtasks())


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



Parameters used in this function

ParameterInput (data type)Description
variableName

A text for the variable name.
issueList

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



This function returns an 


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



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

It would be the same as setBoolean(), but in the variable we would get an issue list.






Status
Tech review

Style guide




Short description

Creates a variable to temporarily store an issue list.

Output

Available since

Label