I have created a customized field for timestamp, while receiving the date and time in mail, i am get in UTC format or incorrect date time.
my field format below.
<td>{{issue.Incident Start Time}}
But looking at the jira ticket the date and time is correct what i have selected.
Incident Start Time(incorrect) | 2024-02-20T21:00:00.0+0000 |
Incident Start Time(need like this)- 2024-02-21 2.30 AM |
Hi @Kiran Kumar
Is your rule actor Automation for Jira? If so, I believe it adopts whatever has been set as the default timezone in the general settings. However, I've seen similar questions where users were having the same issue.
You can use the smart value convertToTimeZone documented here
You can also format the result to the desired text.
For example, if you were looking to present in EST time, you would do this
{{issue.Incident Start Time.convertToTimeZone("America/New_York").format("yyyy-MM-dd h:mm a")}}
Here's a link to the full list of time zone options:
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.