-
Bug
-
Resolution: Fixed
-
High
-
8.15.0
-
8.15
-
12
-
Severity 3 - Minor
-
50
-
-
Summary
Jira issues may have a Target start and Target end date custom field. On Jira instances with the system time zone set to negative values, that is before GMT, when querying against these custom fields in the Issue Navigator using either Basic or Advanced search using JQL, these fields don't behave as expected when compared to Jira's own Date Picker and Date Time Picker custom fields.
Specifically, issues behave as though their Target start and Target end values are a day behind their actual value. Put another way, issues are only returned in the Issue Navigator if queries that query against these two date fields successfully include a date range for the day prior to the actual value.
The same problem appears in various places in Jira, not only in the issue search. Some examples include issue export, issue history, or Jira issue macros inside Confluence.
There is a similar problem with a different root cause with the Due date field that you can follow here: https://jira.atlassian.com/browse/JRASERVER-73401
Steps to Reproduce
- Start Jira with a system timezone with a "negative" timezone, for example, any timezone from the Americas
- Identify an issue which has either Target start or Target end set. For the sake of example, let's say that an issue has a Target start of 2018/03/15.
- In the issue navigator, attempt to search for this issue using any of the following JQL which we would expect would return the issue:
- "Target start" >= '2018/03/15'
- "Target start" = '2018/03/15'
- "Target start" > '2018/03/14'
Expected Results
The issue in question would be returned in the results.
Actual Results
The issue is not returned in the results. The issue will only return for any of the following queries that would return as though the Target start was actually 2018/03/14.
- "Target start" >= '2018/03/14'
- "Target start" = '2018/03/14'
- "Target start" <= '2018/03/14'
Workaround
Because the behavior is consistent in that the queries act as though the date were a day behind, JQL queries may safely be adjusted backward a day to compensate.
Alternatively, you can re-start your Jira instance with a non-negative timezone (for example GMT) and re-index affected issues.
- duplicates
-
JPOSERVER-2358 Bug: Target Start and Target End fields store incorrect values in CEST within jira create rest calls
- Closed
- is duplicated by
-
JPOSERVER-2459 Target start/end field depends on system user timezone
- Closed
- is related to
-
CONFSERVER-98215 Due date shows one day behind in confluence when timezone is set to PST timezone
- Closed
- relates to
-
JPOSERVER-2358 Bug: Target Start and Target End fields store incorrect values in CEST within jira create rest calls
- Closed
-
ARJDC-291 Loading...
-
PSR-857 Loading...
- causes
-
PS-58928 Loading...
- is caused by
-
JPOS-3778 Loading...
- is cloned by
-
WCAT-82 Loading...
- is resolved by
-
JPO-23477 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...