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 nopanel true
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 |
| ||||||
Version compatibility | 6.0.1 - Latest | ||||||
Supported | Yes | ||||||
Introduced in version | 1.0.0 |
Condition parameters
Condition takes following parameters:
Warunek powinien przyjmować następujące parametry:
- 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
- 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)
- 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/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