Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo
Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe

Introduction

Image RemovedTime to be creative(lightbulb)

A huge number of potential use cases can be addressed by using Jira expressions which is currently a Cloud Only feature provided by Atlassian.

Jira expressions can be a powerful tool but they come with limitations.

To master Jira expressions we strongly recommend reading the information we condensed on this single page. Especially when it comes to the difference between Jira expressions and JWT for Jira Cloud parser expressions.

The configuration

Panel
borderColor#006275

Image Removed

To configure this condition you only need to specify a single input parameter - the Jira expression.

Additionally you can test your expression by selecting a dedicated issue to test against.

ParameterDescription


Image AddedConfiguration

UI Expand
titleJira expression
Jira expression *

Enter plain text and optionally use field codes, e.g. issue.summary, to insert field values. The result of the Jira expression shall return true or false.

(warning) Remember,

UI Text Box
typenote

Remember that the usage of

virtual fields

 field codes is different when being used in Jira expressions

(no need to add brackets {}).Evaluation test

. Curly brackets surrounding the field code are not supported. Not for every field code known from the JWT Expressions an equivalent is available. 



UI Expand
titleTest expression

We highly recommended to test your expression before publishing the workflow. Click on Image Added and select

Select

an issue for the context of the evaluation of the given Jira expression. After clicking the "

Evaluate

Run" button the result of the evaluation is shown in a message box below.

If the syntax of the Jira expression is wrong or the evaluation with the given context issue returns an error, an error box with the respective error is displayed in an error box below.


UI Text Box
typetip

To master Jira's expressions we strongly recommend reading the information we condensed on this single page. Especially when it comes to the difference between Jira expressions and JWT expressions.


Image Added Use cases and examples

Image Removed

Get started

Panel
borderColor#006275

Image Removed

Get started by trying out the example configurations provided out of the box.

The following example configurations are currently available:

Additional use cases can be found here!

Test your expression

It is highly recommended to test your Jira expression before publishing the workflow. 

To test an expression simply select an existing issue ad click on Image Removed.

As a result you might encounter four different responses:

ResponseOutputExplanation(tick) Response: The value returned by the expression

Image Removed

Jira expressions usually expect the return of a boolean true or false.

(warning) If you just enter a field code without any comparison operator you will simply get the value as a response!

In this use case "Task" will be returned as the current issue type.

(tick) Response: true

Image Removed

This response indicates that the expression itself is valid and the test issue (KANBAN-1) is in a status called "ToDo"(tick) Response: false

Image Removed

This response indicates that the expression itself is valid but the test issue (KANBAN-1) is NOT in a status called "ToDo"

Response: error

Image Removed

There is a syntax error in the specified expression.

In this case a missing ' at the end of the expression.

Anchorusecaseusecase

Image Removed

Use cases and examples using this condition

Page properties report
firstcolumnUse case
headingsComplexity, Condition, ValidatorJWT feature, Workflow function, Use case description, Complexity
sortByTitle
cqllabel = "use-case" and label = "jira_expression" and space = currentSpace()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue