Adding Sprint Health and Sprint Burndown gadgets results in "The resource /jira/rest/webResources/1.0/resources, cannot be found" error
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
When trying to add a Sprint Health or Sprint Burndown Gadget in Confluence, an error may be encountered in the preview window.
When making the following actions:
While editing a page, insert a macro and choose the Sprint Health or Sprint Burndown gadget
The following appears in the a captured HAR file or in the UI:
1
The resource /jira/rest/webResources/1.0/resources, cannot be found.
Diagnosis
Environment
Confluence 6.6.13 and other versions
JIRA 7.7.2 and other versions
Cause
The trigger for this problem is the fact that gadget incorrectly fills form data for the POST request to:
1
https://<confluence_url>/plugins/servlet/gadgets/makeRequest
In particular, url param is a relative URL, instead of being fully qualified (absolute) URL.
Solution
Workaround
Currently there is no known workaround for this behavior, however this error will not stop you from adding the Macro, whether if you see the error in the UI or in a HAR file of the captured web traffic.
This same error is seen when the macro is successfully added, therefore this error can be safely ignored.
A bug has been opened on this to track the issue: JSWSERVER-20149 - Adding Sprint Health and Sprint Burndown gadgets results in "The resource /jira/rest/webResources/1.0/resources, cannot be found" error
Was this helpful?