How to align timezones


We are on bamboo 6.0.

My bamboo server is based in Europe (GMT+2) while my Source control server is based in Pacific timezone (GMT-7). I am in UK (GMT+1).

I have configured that every time i perform a commit to a changelist it triggers a automatic build on bamboo.

When i submit a changelist on perforce , i see that build result summary tells me that my build started in future . While the code commits section tells me that i submitted the change 9 hours ago (because my Perforce is based in GMT-7). 

What can i do to fix this problem?

1 answer

0 votes

Java applications like JIRA and Bamboo take their system timezones from the host operating system.   So one way to fix this would be to change the operating systems to all use the same timezone.

Alternative to this would be to the KB article: Setting the timezone for the Java environment.

This KB explains that you can leave the OS timeozne as is, but instead by adding this JVM startup argument to the application startup settings, it will set the timezone for just the application.  Either way, you should be able to set all instance to use the same timezone as a means to prevent this problem.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

157 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you