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
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

467 views 7 5
Join discussion

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