How to force the timezone of Bamboo Server
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Change the timezone used by Bamboo Server to one different to the system timezone, or force it to a certain timezone if for some reason it's not matching.
Solution
Firstly, if you just want to make Bamboo use the same timezone as the system timezone, it should by default. A few things to double check:
Did you configure the timezone correctly for your Operating System? For example, Ubuntu:
sudo dpkg-reconfigure tzdat
Did you restart Bamboo after changing the timezone?
You can also use a JVM argument in <bamboo-install>/bin/setenv.sh
to force the timezone (See Configuring your System Properties for instructions on setting this for other Operating Systems):
1
JVM_SUPPORT_RECOMMENDED_ARGS="-Duser.timezone=Australia/Sydney"
The list of configurable timezones can be found here:
Was this helpful?