Good day Atlassian community,
We are doing compatibility testing of our plug in 9.11.0 version. Then we encounter problems related to org.json version 20070829 as one of our plug in dependency. Upon further checking we have found out that 9.11.0 atlassian-bundled-plugins has new version of org.json version 20230227.

This is the error we are getting in logs.
| org.json.JSONException: JSONObject["fieldData"] is not a string (class org.json.JSONObject).
Message: JSONObject["fieldData"] is not a string (class org.json.JSONObject).
org.json.JSONObject.wrongValueFormatException(JSONObject.java:2698)
Error shown above is from newer version of org.json which we are not using in our pom.
This is our pom set up:
added compile to scope
Specified version in Import-Package

Also run mvn dependency:tree but sees no duplicate org.json in my pom configuration.
Using these changes above still has no success as during runtime my plug in still uses new org.json version.
Im not sure if this problem is related to this since we are using 8.22 version in our development:
https://jira.atlassian.com/browse/JRASERVER-70445
Any help and suggestions are appreciated. Thanks a lot.
Note: Last resort solution for us is to update all codes related to org.json if version can't be overridden which is not the best case for us since we have a huge code base already.