The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

5 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