Versions Compared

Key

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

Condition to check issues that match the date comparison.

Auibutton
titleServer
typeprimary
urlJEP - Date Comparison Condition
Auibutton
titleCloud
typesubtle
urlJEPC:JEP - Date Comparison Condition

...

panelIconIdatlassian-info
panelIcon:info:
panelIconText:info:
bgColor#F4F5F7

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

This condition checks that issues match the date comparison.

To add the Date Comparison Condition

...

Steps

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

  2. Switch to the Conditions tab

...

  1. .

  2. Click the Add Condition button.

...

  1. Image Added
  2. Select JEP - Date Comparison Condition and

...

  1. click the Add button.

...

  1. Image Added
  2. Fill in the form

...

  1. :

    Image Added
    • 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.

...

  1. Click the Add button.

  2. Publish the workflow.

The condition will now be added to the transition.

Image Removed

Please do not forget to publish the workflow.

...

Excerpt
hiddentrue

Condition to check issues that match the date comparison.

This condition checks that issues match the date comparison.

To add the Date Comparison Condition

Go to the transition of your workflow, switch to the Conditions tab and then click on the Add Condition button.

Image Removed

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

Image Removed

Fill in the form and then click the Add button.

Image Removed

  • Date field: Pick a date or datetime field. This can either be 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 compare only the date part. Time parts become 00:00:00.

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

Image Removed

...

.