We have installed version 6.15.4
We have also installed two user created plugins
It is a two-part solution. One plugin builds a REST connection to a Bugzilla instance (set in the admin console). REST calls are returned as Java objects that are available in the Velocity context. Following Set of Macros are defined
- Bug link, that can display one or more bugs from a list as a set of links. Mouse-over on the link displays a bug summary, or the summary can be displayed inline after the bug link. Bug link decoration based on whether the bug is new, resolved, etc.
- Table lsting user-selectable values for a list of bugs.
- Table similar to above based on a Bugzilla search query.
In in the admin console page the Test connection to Bugzilla server works fine.
But when we try to insert Bugzilla data using bugzilla Macros , it fails with following error or "Check connection to Bugzilla server in admin console.
Caused by: org.json.JSONException: JSONObject["baseUrl"] not found.
at org.json.JSONObject.get(JSONObject.java:475)
at sun.reflect.GeneratedMethodAccessor2337.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.velocity.runtime.parser.node.GetExecutor.execute(GetExecutor.java:117)
at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:529)
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)