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

Compare with Current View Page History

« Previous Version 23 Next »

parsing mode determines how the JWT for Jira Cloud expression parser interprets an expression. The available parsing modes depend on the context in which you use the expression.



Available parsing modes

Comments can be added to all parsing modes. They deal as documentation for the expression and are ignored when evaluating the expression. 

Parsing modeSyntaxExamples
General

Only available when using expressions enclosed by %{}.

Starts with # and ends either at the end of the line or if the expression is closed by }

List of issue keys for %{issue.key #choose an issue} is:
%{subtasks() # and show all sub-tasks}
%{# This example simply returns the number of linked issues using a JWT expression
 
%{issue.links.length}}
LogicalIt starts with # and ends at the end of the line
%{issue.key} = "PRJ-42" # simple comparison with issue key
# This example simply returns the number of linked issues using a JWT expression
 
%{issue.links.length}
Jira expressionIt starts with // and ends with the end of the line
issue.key == 'PRJ-42' // simple comparison with issue key