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 | Short description | Supported elements | Output |
---|---|---|---|
General mode | Compose free text using field codes and JWT expression parser functions. | TEXT | |
Jira expression mode | Language designed by Atlassian to work with Jira entities. | MULTIPLE | |
Logical mode | Compose logical expressions using field codes and JWT expression parser functions. | BOOLEAN |
Comments
Comments can be added to all parsing modes. They serve as internal 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 |
If you still have questions, feel free to refer to our support team.