Date Comparison Condition

This page is about JEP for Jira DC. Using Cloud? Click here.

This condition checks that issues match the date comparison.

Steps

  1. Open the workflow where you want to add the condition and locate the transition you want.

  2. Switch to the Conditions tab.

  3. Click the Add Condition button.

  4. Select JEP - Date Comparison Condition and click the Add button.

  5. Fill in the form:

    • Date field: Select a date or datetime field to use in the condition. This can be a Jira default field or a custom field.

    • Condition: Choose a comparison operator: less than, less than or equals, equals, not equals, greater than, greater than, or equals.

    • Compare with: Provide the value to compare the date field with.

      • Hard-coded date/datetime: Enter a specific date or datetime string.

        • For dates, use the format yyyy-mm-dd. Example: 2019-09-27

        • For datetimes, use the format yyyy-mm-dd hh:mm. Example: 2019-09-27 13:45

      • Relative time string: Specify a time offset, such as 5d 4h or 6h 30m.

    • Skip time part: Enable this option if you only want to compare the date portion and ignore the time. When enabled, the time part is automatically set to 00:00:00.

  6. Click the Add button.

  7. Publish the workflow.

The condition will now be added to the transition.