How to clean System Errors in Bamboo from command line


アトラシアン コミュニティをご利用ください。


プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。



Bamboo offers a way to remove System Errors from the Administration page. For more information, please refer to How to bulk clear System Errors from build plans.

If the error list is too large, this page can timeout, blocking the user from the possibility to delete them.


Any Bamboo supported version.


When trying to open the page "System errors", the loading of the page will fail and the user won't reach the option to delete them.


When removing errors, Bamboo calls the endpoint "removeAllErrorsFromLog.action". This article offers a way to reach the endpoint from command line instead, avoiding the timeout.

(info) For this approach  we don't have an official REST endpoint, therefore we need to disable XSRF protection in order to make it work.

To proceed, please do the following:

  • Disable XSRF protection:
    1. Visit "Administration -> Security Settings".
    2. Scroll to the end, click on edit.
    3. Disable the check " Enable XSRF protection".
    4. 保存します。
  • Then proceed to make the call. The command is
curl --user USER:PASSWORD -X POST -H "Content-Type: application/json" BASE_URL/removeAllErrorsFromLog.action

(make sure you put your credentials and update the Base URL)

  • Once this is over, you can re-enable XSRF protection.

最終更新日: 2021 年 10 月 13 日


Powered by Confluence and Scroll Viewport.