Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.0.0, 7.0.4, 7.0.5, 7.1.6, 7.2.2, 7.3.8
-
None
-
7
-
50
-
Severity 3 - Minor
-
44
-
-
Description
Steps:
1. Run JIRA 1
2. Run JIRA 2 (or confluence) (Not on the same machine as JIRA 1. For unknown reason, it's throwing shindig exception. Require further investigation)
3. Open JIRA 1 and retrieve the url to roadmap gadget (For example: https://jdog.jira-dev.com/rest/gadgets/1.0/g/com.atlassian.jira.gadgets:road-map-gadget/gadgets/roadmap-gadget.xml)
4. Open JIRA 2 and add external gadget to the dashboard (Click on 'Add gadget' then 'Add Gadget to Directory')
5. In JIRA 2, search for the newly added gadget and add it to the dashboard.
Expected: Gadget is added and a config screen is showing in the gadget.
Actual: Gadget is added, but it's not showing anything.
Gadget is throwing a JS error here:
AJS.gadget.fields.projectsAndCategoriesPicker = function(gadget, userpref, options) { if (!options){ options = {}; } if (!options.projects){ options.projects = [{label:gadget.getMsg("gadget.common.projects.all"), value: "allprojects"}]; } if(options.projects[0].value !== "allprojects"){ //Uncaught TypeError: Cannot read property 'value' of undefined options.projects = AJS.$.merge([{label:gadget.getMsg("gadget.common.projects.all"), value: "allprojects"}], options.projects); } if (!options.categories || options.categories.length == 0){
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-27700 JIRA Roadmap gadget preview is blank and it is not possible to add it to a page
- Closed
- relates to
-
CONFSERVER-52422 JIRA Road Map gadget doesn't load and throws JavaScript errors
- Gathering Impact
- clones
-
JDEV-28324 Loading...
- Discovered while testing
-
SOFT-20 Loading...
- is spiked by
-
RAID-1084 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...