{ "id": "99090", "key": "ALOY-171", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14106", "description": "", "name": "2012 Sprint 17", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-15T07:45:14.000+0000", "created": "2012-08-13T12:19:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14106", "description": "", "name": "2012 Sprint 17", "archived": true, "released": true, "releaseDate": "2012-08-27" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:46.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "{code:xml}\r\n \r\n{code}\r\n\r\ngenerate this:\r\n\r\n{code:javascript}\r\n$.theWidget = new (Alloy.getWidget(\"com.appc.someWidget\"))({\r\n type: \"widget\",\r\n src: \"com.appc.someWidget\"\r\n});\r\n{code}\r\n\r\nit should just generate this:\r\n\r\n{code:javascript}\r\n$.theWidget = new (Alloy.getWidget(\"com.appc.someWidget\"))();\r\n{code}", "attachment": [], "flagged": false, "summary": "\"src\" and \"type\" attributes from should not be passed to the generated code", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }