we have couple of date pickers and date time pickers. I have 2 issues with these fields
Default user time zone is set to (GMT-05:00) New York
Custom email notification uses $issue.getCustomFieldValue("customfield_xxxx") to get customfield values.
JIRA Version 6.4.3
Your help is appreciated...
-Duser.timezone=
)$issue.getCustomFieldValue("customfield_xxxx")
Is data stored in as GMT in database?
Please assist on how can i get local timezone in email notifications
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI...Issue is resolved
"customfield_xxxxx is a date/time picker", JIRA somehow converts time to GMT(probably that is what persisted in database as GMT) and sends out email notifications.
dateformatter does converts date/time to use local timezone and displays date in local timezone.
$dateformatter.format($issue.getCustomFieldValue("customfield_xxxxx")),
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.