How to suppress stack traces on internal server errors from pages in Bamboo

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

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:

1 -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.

Updated on February 14, 2025

Still need help?

The Atlassian Community is here for you.