Versions Compared

Key

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

Panel
bgColor#f5f5f5
titleColor#ffffff
borderWidth0
titleBGColor#000000
titleJSU for Jira Server/Data Center

This is the documentation

...

for JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud,

...

see our JSU Cloud documentation.

Excerpt

Description

The 'Date Expression Compare'

check

validator compares the value of a date field with a date expression

(

, for example, date field must be more recent than actual date

)

. If the check fails, no action will be performed.

Configuration

You must select the date field, the comparison condition, the date expression

itself

, and

optional

whether to include the time

part

component for comparison

. For example:Image Removed
For information on how to configure a check in JIRA, see the JIRA documentation

.

Include PageCustom Error MessageCustom Error Message

Example

A workflow is configured so that the 'Resolve' transition has the 'Date Expression Compare' check where 'Due Date' > '5d'. If a user attempts to resolve an issue on this workflow, where the 'Due Date' is less than

5 Include PageSupported Field TypesSupported Field Types

five days from now, the check will fail and no action will be performed.

Supported Field Types

Example configuration of the Date Expression Compare validator as described on this page.Image Added

Optional error message

You can define a custom error message for JSU validators to provide a clear explanation of the situation to your users. If you leave this field empty, a default error message from Jira will be displayed on validation errors.