/
Breaking changes 5.4.0

Breaking changes 5.4.0

icon-feature-charge.png

This page includes the breaking change introduced to Scripting for Confluence [version 5.4.0] that can affect your existing system. Review the changes carefully and perform any necessary actions to maintain the app’s functionality.

Confluence compatibility: 9.x



Overview

The Scripting for Confluence app no longer supports Javascript macro from Confluence version 8.9.2.

Javascript macro

End of support for Javascript macro from Confluence version 8.9.2

  • Atlassian has ended the support for Java 11, starting with Confluence 9.0 and later versions. The last Confluence version to support Java 11 is 8.9. Learn more.

  • Atlassian has started supporting Java 17 with Confluence version 8.9.x. The Javascript macro works with Java 11 or earlier. Therefore, the Javascript macro fails if Confluence is upgraded to 8.9.x and Java is on version 17.

Root cause

JDK17 has removed the javax.script.* packages, which are required for the Javascript macro to function.

Impact

  • If your Confluence is upgraded to 8.9.x, and Java is on version 17, you will not be able to use Javascript macro.

  • Existing Confluence pages containing JavaScript macros can display unexpected errors.

    Javascript error.jpg

Recommendation

It is recommended not to use Javascript macro if you have upgraded Confluence to 8.9.x and Java is on version 17.

Limitations

The Javascript macro works if Confluence is running on JDK11 or earlier.


RN_QuestionIcon.png Support and resources

RN_CreditIcon.png Credits

Thank you to our valued customers! Your incredible support and feedback inspire us to improve continuously. We appreciate your trust in Scripting for Confluence!


Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.