The 'Date Expression Compare' check 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.
You must select the date field, the comparison condition, the date expression itself, and optional whether to include the time part for comparison. For example:
For information on how to configure a check in JIRA, see the JIRA documentation.
You can specify a custom error message, which might better explain the situation to your users. If you leave this field empty, a default error message will be displayed. However, that might be a bit too technical, making it difficult for you users to understand the validation error.
If you leave this field empty, a default error message will be displayed. However, that might be a bit too technical, making it difficult for you users to understand the validation error.
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 days from now, the check will fail and no action will be performed.
Supported Field Types
In its different modules (especially those for workflows), the JSU app supports many different field types. System fields, as well as custom fields.
However you should be aware, that not all field types are supported. Also not in all combinations. We think we cover the most important field types and still are continuously adding and improving which and how different field types are supported. But the one you need, might just not (yet) work. Some custom fields of other third party app might never get supported.
For that reason you should always test anything you do with the JSU app with fields. Before you buy a license for JSU, try it with a free evaluation license, if it works for you.
Preconditions can be configured in a several ways:
- A result of a precondition can be negated
- A result of a precondition can be combined with a result of previous preconditions using the following ways:
- Discard the result of previous precondition (Results of the previous preconditions are not taken into account)
- AND (All of the preconditions have to be true to allow execute a post function)
- OR (Only one of the preconditions has to be true to allow execute a post function)