How to correct wrong fields, in Email issue (JMWE app) Function for my transition?

Miguel Bravo March 19, 2020

I am attempting to display the correct date/time when the issue was created. 
Currently using this

"Created: {{ now | date('dddd, MMMM Do YYYY, h:mm:ss a') }}"


Works with current date, but it displays our time 4 hours ahead.Incorrect time and url display in post function email.pngWe would also like to get rid of the URL field at the bottom if possible. Or at least be able to edit those fields.

Thank you

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2020

Hi Jeff,

We do something similar, but send an email using Automation For Jira (which is now free to use). For the date and time in our example, we use: 

{{issue.customField_17038.convertToTimeZone("America/Chicago").longDateTime}}..

But you could use the Now() function in Automation For Jira to capture the exact time of execution instead of the custom field. 

Miguel Bravo March 19, 2020

Thank you John.
I think we will change over to Automation for Jira!

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2020

:-)

Like Miguel Bravo likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events