Versions Compared

Key

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

Description

 The 'Date Compare'

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 Compare validator compares the values of two date fields on

the

an issue

(

, for example, one field must be greater than the other

)

. If the

validation

check fails,

the transition

no action will

not

be

completed

performed.

Configuration

You must select the two date fields and the comparison function for the

validator, when configuring the transition. For example:

Image Removed

For information on how to configure a validator in JIRA, see the JIRA documentation.

Include PageCustom Error MessageCustom Error Message

check.

Example

A workflow is configured so that the

'

Resolve

'

transition has the

'

Date Compare

'

validator

where '

set to Resolved Date

'

<=

'

Due Date

'

. If a user attempts to resolve an issue on this workflow, where the

'

Resolved Date

'

is after the

'

Due Date

'

, the

validation

check will fail and

the transition

no action will

not

be

completed Include PageSupported Field TypesSupported Field Types

performed.

Supported Field Types

Example configuration of the Date 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.