A 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
Title |
---|
No content found. |
Comments can be added to all parsing modes. They deal as documentation for the expression and are ignored when evaluating the expression.
Parsing mode | Syntax | Examples |
---|---|---|
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}} |
Logical | It 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 expression | It starts with // and ends with the end of the line | issue.key == 'PRJ-42' // simple comparison with issue key |