-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.1, 6.3.12, 7.2.0-OD-01
-
5.01
-
10
-
Severity 3 - Minor
-
6
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
The implementation of JRA-9 only covers the web user interface, but does not appear to extend to emails. Date fields appearing in notification emails do not honor the user's time zone preference but instead show the server local time. Please extend time zone support to the entire product.
—
Emails use the interface of NavigableField to render the changed values in emails. Specifically, they are given GenericValue objects for ChildChangeItem entries, which are rendered via VelocityHelper#getPrettyFieldString, which will call out to the Field's equivalent method.
Here's the rub:
- The changelog values are only strings. They don't have type data, so we don't know whether we're dealing with a value that needs parsing or not.
- The NavigableField rendering methods only accepts an i18nHelper object, but not a locale or timezone value.
- NavigableField is a Public API, so it's possible people are implementing and extending this.
These three things combined mean that, at present, we have no real means of parsing the values for a user's timezone.
To add time zone support in emails, we need to address the more fundamental problems listed above.
- is duplicated by
-
JRACLOUD-66677 Mail notification about issue update doesn't respect destination user timezone settings
- Closed
- is related to
-
JRACLOUD-66677 Mail notification about issue update doesn't respect destination user timezone settings
- Closed
- relates to
-
JRACLOUD-28939 Add time-zone support for rendering date fields
- Closed
-
JRASERVER-9 User Preference: User Time Zones
- Closed
- mentioned in
-
Page Loading...