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).

 

 

 

Excerpt Include
Universal user-based condition
Universal user-based condition
nopaneltrue

Universal date/time condition is an amazing extensionthat allows you to check most of date or time relations in an issue.

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

For example you can build following conditions using our solution:

  • Transition can be performed only within specific time-frame after it's resolved
  • Transition can be executed only during business hours (e.g. 9-5)
Element summary
Status
Status
colourGreen
titleCurrent
Version compatibility6.0.1 - Latest
SupportedYes
Introduced in version1.0.0
Creted date (issue created)

Condition parameters

 Condition takes following parameters:

Warunek powinien przyjmować następujące parametry:

Date field 1 (pole wyboru) -> Obligatoryjne:
  • 1st date - upper list
    • Issue created date
    • 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)
  • 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 1st date - allow you to add or subtract some time from date you selected
      • None - do nothing
      • Add - adds some time to date from first list
      • Subtract - subtracts some time from date you selected above
    • Comparing relation - selection of math operators to compate 1st and 2nd date.
    • Comparator behaviour - truncating date/time method
    • 2nd date - lower list - same options as 1st date. It will be compared with 1st date using options listed above

    Image Added