Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get mailed report to show dates in local time?

Sean Martin
Contributor
November 18, 2025

I'm using a rule to email out the results of a filter.  In the filter, the Created date for a ticket is shown as "Nov 16, 2025, 10:47 PM".  The time in our local time zone (Pacific) when the ticket was created.

The exact same filter is used in the automation rule that sends out the email.  In the "Send Email" step in the automation, I have {{created}}.  In the resulting email, the date is shown as "2025-11-17T06:47".  It's in UTC+00, in London time.

How do I get the dates to instead show in local Pacific time zone time, in UTC-08?

 

1 answer

0 votes
Sean Martin
Contributor
November 18, 2025

Found an answer.

{{created.withZone("America/Los_Angeles").shortDate}}  was supposed to work but didn't for me.  Apparently withZone isn't supported in my Jira.

Alternative of {{created.format("yyyy-MM-dd HH:mm", "America/Los_Angeles")}} was suggested but also didn't work for me.

Apparently, mine only supports the legacy convertToTimeZone() function.  So I used {{created.convertToTimeZone("America/Los_Angeles")}} and that finally worked.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events