Hello,
I need some help with the timezone in Email notification for my JIRA Automation email feature. I have a DateTime field name called "Next Update". I have below test in a Sent email feature
{{Issue.Next Update.format("MM/dd/yyyy hh:ss")}}
The format seems ok in an email but the Time section is exactly 4Hr ahead of NY time. I checked my personal setting and its "America/New York".
Not sure where I may need this change in order to get correct time value based my current timezone?
I found this to work - just replace your customfield ID in the x's. You may also want to change the shortTime as well if you desire a different format. This will output 08/03/2021 1:00 PM
{{issue.customfield_xxxxx.format("MM/dd/yyyy")}} {{issue.customfield_xxxxx.convertToTimeZone("America/New York").shortTime}}
You can find more documentation at:
https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.