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

Compare with Current View Page History

« Previous Version 2 Next »

This function returns the result of a given Jira expression.

Syntax
jiraExpression(text) #Output: Text 
Examples
Parser expressionDescription
%{}

This example returns:

1900,2000,1.5,6.1



Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text.
Output

This function returns a TEXT 

Variant where you can additionally define a list of issues which can be used within the Jira expression given as the first parameter.

Syntax
jiraExpression(text, issueList) #Output: Text list
Examples
Parser expressionDescription
%{}

This example returns:

1900,2000,1.5,6.1

The current user %{issue.currentUser.displayName} has written %{jiraExpression("issue.comments.filter(c=>c.author.accountId==user.accountId).length")} comments to this issue and created %{jiraExpression("issue.subtasks.filter(s=>s.reporter.accountId==user.accountId).length} sub-tasks.

The current user John Doe has written 3 comments to this issue and created 2 sub-tasks.


Output

This function returns a TEXT LIST