JEP - Date Comparison Validator

Server Cloud

This page is about the Enhancer Plugin for Jira Cloud. Using Jira Server? Then please click on the Server button above.

This validator allows issues that match the date comparison.

To add the Date Comparison Validator

Go to the transition of your workflow, switch to the Validators tab and then click the Add Validator button.

Select JEP - Date Comparison Validator and then click the Add button.

Fill in the form and then click Add.

  • Date field: Pick a date or datetime field. It can be either a Jira field or a custom field. 
  • Condition: Pick a condition: less than, less than or equals, equals, not equals, greater than, greater than or equals.
  • Compare with: This field can either be a hard-coded date/datetime string or a relative time string.
    • The date should match yyyy-mm-dd pattern, e.g. 2019-09-27.
    • The datetime should match yyyy-mm-dd hh:mm pattern, e.g. 2019-09-27 13:45.
    • The time string should be like 5d 4h, 6h 30m.
  • Skip time part: Enable this if you do not want to only compare the date part. Time parts will become 00:00:00.
  • Message: If you want, you can customize the error message.

That's it, the validator will now be added to the transition.

Please do not forget to publish the workflow.