Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence cannot connect to Bugzilla

preetiparasar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2019

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)

1 answer

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2019

There have been enough changes to Confluence since this plugin was developed (for version 5.9.7), that some methods and objects have been deprecated.  I suggest you contact the contractor that developed the plugin for you. ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events