Versions Compared

Key

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


Page properties
hiddentrue
StatusTech review

Status
titletodo

Style guide

Status
colourYellow
titleReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Panel

On this page

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

UI Text Box
sizemedium
typeinfo

This condition is used for hiding or blocking a transition depending on the result of a JQL query.


UI Text Box
typetip

Field codes in the format %{nnnnn} can be inserted in the JQL query. It will be replaced by the corresponding field values at JQL execution time. Most of the times you will require to introduce one or more field codes in your JQL query since usually some kind of reference to the current issue (%{00015}), current user (%{00020}), current date (%{00057}), assignee (%{00003}) wants to be made.


Image AddedConfiguration

ui-text-box
typenote

In this documentation and the condition configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional.

Basic configuration*

Below you will find a detailed description of each parameter of the basic configuration for this validator.

JQL*

Expand
titleJQL
Info
iconfalse

Enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

UI Text Box
typetip

Test your expression by clicking the play run button on the top right of the expression box.

Condition*



UI Expand
titleCondition
Info
iconfalse

Choose the condition from one of the following options:

  1. Current issue belongs to the output of the query
  2. Current issue doesn't belong to the output of the query
  3. Number of issues returned by the JQL query satisfies a logical expression

Upon choosing 3. The following must be done:

UI Expand
titleExpression
*
Temporary number 1 - {issue.temporaryNumber1} - returns the number of issues returned by the JQL query.

The expression must return a true or false.

UI Text Box
typetip

Test your expression by clicking the

play

run button on the top right of the expression box.




UI Expand
titleValidation options

Choose from one of the following options (multi-choice is possible):

  • If the transition is triggered by a JWT post function, the validation will be skipped.
  • If the transition is triggered by a bulk operation, the validation will be skipped.
  • If the create transition is triggered by a clone operation, the validation will be skipped.
  • If the create transition is triggered by a mail handler, the validation will be skipped.


UI Expand
titleError message

Add an optional error message to show when validation fails.

Location
UI Expand
Info
iconfalse
titleLocation

Define where the error message should be displayed.

Message


Infoui-expand
iconfalse
titleMessage

Enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

UI Text Box
typetip

Test your expression by clicking the play button on the top right of the expression box.


UI Button
titleAdd translation

Infoui-text-box
iconfalse
typeinfo

Click on the Add translation button and choose the desired language to be translated to.

Translations will be displayed based on the user's language setting.



UI Expand
iconfalse
titleRun as

Choose which user* will be able to execute this post function. By default, it is set to the Current user.



Image AddedUse cases and examples

Page properties report
cqllabel = "use-case" and space = currentSpace() and parent = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourYellow
titleReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionValidation on the result of a JQL query.
Label