-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.9.0, 5.10.1
-
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
Warning We recommend turning the Feature Flag back on after the gadget URL has been added.
- links to
[JSDSERVER-14708] Not able to add jira assets gadget in confluence external gadgets
Status | Original: Gathering Impact [ 12072 ] | New: Short Term Backlog [ 12074 ] |
Support reference count | Original: 5 | New: 6 |
UIS | Original: 2 | New: 1 |
Support reference count | Original: 4 | New: 5 |
Support reference count | Original: 5 | New: 4 |
UIS | Original: 1 | New: 2 |
Support reference count | Original: 4 | New: 5 |
Remote Link | New: This issue links to "Page (Confluence)" [ 991777 ] |
Hi 1463fcb5e3fd,
are there any updates? or fixes planned ? our managers are actually looking since 7 month to an error message instead to the reports :/