Change the server timezone in Bitbucket Server
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
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
Purpose
This page covers how to change the server timezone used by the JVM
Solution
- Locate the start script for the operating system in use (e.g. <Bitbucket installation dir>/bin/_start-webapp.sh/.bat)
Add the following to the JVM_SUPPORT_RECOMMENDED_ARGS line appending it to the current settings:
-Duser.timezone=<selected timezone>
Restart Bitbucket