Date and Time Formats
Reference for all date and time formats used in Argon JQL functions.
Date Format
Used in: changedBy, transitionedBy, commented, attachment, worklog
Formats
| Format | Example | Description |
|---|---|---|
yyyy/MM/dd | 2024/01/15 | Date only (midnight UTC) |
yyyy/MM/dd HH:mm | 2024/01/15 14:30 | Date and time (UTC) |
Examples
-- Date only
issue in changedBy("project = DEV", "Status", "2024/01/01", "2024/12/31")
-- Date and time
issue in transitionedBy("project = DEV", "Done", "2024/01/15 09:00", "2024/01/15 17:00")
Important Notes
- All dates are interpreted as UTC
- When using date-only format, time defaults to
00:00(midnight) - Leading zeros are required: use
01not1 - Year must be 4 digits
Time Expression Format
Used in: timeInStatus, timeExpression, worklog (min/max time spent)
Units
| Unit | Meaning | Example |
|---|---|---|
w | Weeks | 2w = 2 weeks |
d | Days | 5d = 5 days |
h | Hours | 8h = 8 hours |
m | Minutes | 30m = 30 minutes |
s | Seconds | 45s = 45 seconds |
Combining Units
You can combine multiple units in a single expression:
2w 3d 4h 30m
This equals: 2 weeks + 3 days + 4 hours + 30 minutes
Examples
-- Find issues in progress for over 2 weeks
issue > timeInStatus("project = DEV", "In Progress", "2w")
-- Find issues in review for less than 3 days
issue < timeInStatus("project = DEV", "In Review", "3d")
-- Find issues with 2+ hours of worklogs
issue in worklog("project = DEV", "", "", "", "2h")
-- Use with Time in Status custom field
"In Progress.time" >= timeExpression("1w 2d")
-- Complex time expression
issue > timeInStatus("project = DEV", "Blocked", "1w 3d 4h")