-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 5.9.0, 5.10.1
-
Component/s: Assets - Confluence Macro
-
6
-
Severity 3 - Minor
-
1
Issue Summary
Customers are not able to the new assets widget from Confluence "Administration > General Configuration > External Gadgets" page, as it fails with "Invalid gadget URL".
This is reproducible on Data Center: yes
Steps to Reproduce
- Setup a Jira service Management instance with version 5.10.1v
- Set up a confluence instance with any version.
- Select the Application links between 2 instances and ensure they are connected.
- Go to Jira dashboards, and select "Add gaget".
- Select the "Assets Widget" click on the "show XML link" and copy the XML link from it.
- Go to Confluence Application, Administration > General Configuration > External Gadgets and add the copied URL.
This is working as expected in the 5.4.0 LTS version, and 5.4.9 version.
Expected Results
The expected result is that the gadget link gets added and reflected in the "Added Gadgets" section.
Actual Results
The addition of XML fails and displays error "Invalid URL".

When trying to use a wget command to retrieve the XML file it fails with a 404 error.
bash-3.2$ wget http://localhost:49101/j9101/rest/gadgets/1.0/g/com.riadalabs.jira.plugins.insight:rlabs-gadget-widgets/includes/js/gadget/widgets/WidgetGadget.xml --2023-09-28 18:03:12-- http://localhost:49101/j9101/rest/gadgets/1.0/g/com.riadalabs.jira.plugins.insight:rlabs-gadget-widgets/includes/js/gadget/widgets/WidgetGadget.xml Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:49101... connected. HTTP request sent, awaiting response... 404 2023-09-28 18:03:12 ERROR 404: (no description).
However, the same command works fine in 5.4.0 version.
bash-3.2$ wget http://localhost:8940/j940/rest/gadgets/1.0/g/com.riadalabs.jira.plugins.insight:rlabs-gadget-widgets/includes/js/gadget/widgets/WidgetGadget.xml --2023-10-02 17:37:34-- http://localhost:8940/j940/rest/gadgets/1.0/g/com.riadalabs.jira.plugins.insight:rlabs-gadget-widgets/includes/js/gadget/widgets/WidgetGadget.xml Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:8940... connected. HTTP request sent, awaiting response... 200 Length: 98521 (96K) [application/xml] Saving to: ‘WidgetGadget.xml.1’ WidgetGadget.xml.1 100%[=====================================================================================================================================================>] 96.21K --.-KB/s in 0s 2023-10-02 17:37:34 (352 MB/s) - ‘WidgetGadget.xml.1’ saved [98521/98521]
Workaround
Disable the following feature flag: assets.permission.view.widget
Instructions can be found on this Knowledge Base Article: https://confluence.atlassian.com/jirakb/how-to-manage-dark-features-in-jira-959286331.html
Note: You will need to wait for 5 minutes since the last failed request, or restart Confluence to be able to add the widget.
- links to
