How to suppress stack traces on internal server errors from pages in Bamboo
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
Summary
Due to security requirements you may not want users to see stack traces whenever they come across an Internal Server Error while navigating through Bamboo.
Environment
Bamboo versions 7.0 and higher.
Solution
You can suppress stack traces by adding the following system property to Bamboo:
-Dbamboo.show.internal.server.error.stacks=false
You'll find instructions on how to update your system properties inside the Configuring your system properties page as this will vary depending on the operating system Bamboo is running on and whether it's running as a service.