This function returns the result of a given Jira expression as a text. In case a number, a list or a logical value is returned by the Jira expression, the returned text of the function jiraExpression() can be converted accordingly, e.g. with toStringList().
It unfolds its power when combined with JWT functionality which is not available in Jira expressions and vice versa.
jiraExpression(expression) #Output: Text
Variant where you can additionally define a list of issues which can be used within the Jira expression given as the first parameter. You can access these issues through an injected context called issues.
jiraExpression(expression, issueList) #Output: Text
Variant where you can additionally define a string of Issue keys which can be used within the Jira expression given as the first parameter. You can access these issues through an injected context called issues.
jiraExpression(expression, issueKeys) #Output: Text
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Create a sub-task for each user selected in a User Picker field | |||||
Inform the project manager about an added attachment | Send email | ||||
Add request participants | Execute remote action | jiraExpression() |