Forums

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

How to change time zone in automation

Suporte JRetail
Contributor
June 3, 2022

I made an automation that sends the time when a comment was made, but it sends time in a different time zone as mine.

For whoever is wondering my time zone is GMT-3, if anyone knows how to fix it please leave a comment!

2 answers

2 accepted

4 votes
Answer accepted
Michael Atkin
Contributor
September 20, 2022

Found the answer in another post that it won't let me link to for some reason, but the format I needed was this: 

Use the following smart value for your use case, changing the value to the appropriate time zone:

{{issue.customfield_10334.convertToTimeZone("America/New_York").shortDateTime}}
 

0 votes
Answer accepted
Suporte JRetail
Contributor
June 9, 2022

So i don't realy found a solution but i was able to make it work with this command: {{now.minusHours(3).shortTime}}

So if you need to change any rule to your time zone just change the number between parentheses.

Suggest an answer

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

Atlassian Community Events