Page tree

Versions Compared

Key

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

Introduction

Należy zaimplementować warunek, który bierze dwie daty i porównuje je ze sobą podobnie jak w WPB-12 (tylko nie dla użytkowników, ale dla dat).

 

 

 
Info

Complex element

This workflow element is complex and maybe a little confusing for beginners. If you have any further questions, please contact us via our Customer Portal.


The Universal date/time condition is an amazing extension that allows you to check most of the date or time relations in an issue.

It operates on all Jira standard and custom fields including created date, last updated date, resolution date, due date, etc.

For example, you can build the following conditions using our solution:

  • The transition can be performed only within a specific time-frame after it's resolved,
  • The transition can be executed only during business hours (e.g. 9 am - 5 pm).


Element summary
Status
Status
colourGreen
titleCurrent
Version compatibility6.0.1 - Latest
SupportedYes
Introduced in version1.0.0



Condition parameters

 Condition Creted date (issue created)

This condition takes the following parameters:

Warunek powinien przyjmować następujące parametry:

Date field 1 (pole wyboru) -> Obligatoryjne:
  • 1st date - the upper list
    • Issue created date
    • Updated date
    • Resolution date
    • Due Date
    • Now (current date & time)
    • Start of the day
    • Start of the week
    • Start of the month
    • Start of the year
    • End of the day
    • End of the week
    • End of the month
    • End of the year
    • Date
fields (wszystkie pola typu date/datetime, włączając w to pola Secure oraz pola typu data/czas z EPMa)
  • Is -> relacja matematyczna (>,<,=,!=,=<,>=) -> Obligatoryjnie jedna z opcji
  • Date field 2 (pole wyboru) -> Obligatoryjne:
    • Creted date (issue created)
    • Updated date
    • Resolution date
    • Due Date
    • Now (current date & time)
    • Start of day
    • Start of week
    • Start of month
    • Start of year
    • End of day
    • End of week
    • End of month
    • End of year
    • Date fields (wszystkie pola typu date/datetime, włączając w to pola Secure oraz pola typu data/czas z EPMa)
  • Date field 2 shifting (optional) -> Radio button. Dodaje lub odejmuje od daty zwróconej przez pole 2 określoną liczbę godzin, dni itd.
    • None (opcja domyslna)
    • Add XX (liczba naturalna >0) (minutes,hours,days,months,years) to date field 2
    • Subtract XX (liczba naturalna >0) (minutes,hours,days,months,years) from date field 2
  • Date and Time part behaviour(sposób postępowania z częścią czasową warunków) - kalkulujemy to dopiero po wykonaniu operacji z punktu shifting (mogą się zmienić daty). Stosowna informacja powinna się pojawić pod tym polem.
  • Include for both field (domyślnie)
  • Include only for field 1
  • Include only for field 2
  • Excude for both field
  • Take only time part for both fields (exclude dates) -> porównuje tylko godziny.
      • & date/time custom fields
    • Shift the 1st date - allows you to add or subtract some time from the date you've selected.
      • None - do nothing
      • Add - adds some time to date from the first list
      • Subtract - subtracts some time from the date you've selected earlier.
    • Comparing relation - the selection of math operators to compare the 1st and the 2nd date.
    • Comparator behavior - truncating the date/time method
    • 2nd date - the lower list - the same options as for the 1st date. It will be compared with the 1st date using the options listed above.

    Image Added