{ "id": "97811", "key": "ALOY-121", "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": "14791", "description": "2012 Sprint 15", "name": "2012 Sprint 15", "archived": true, "released": false }, { "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-07-24T11:31:38.000+0000", "created": "2012-07-23T13:50:05.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:33.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": "Example:\r\n\r\n{code:javascript}\r\n\"backgroundGradient\": {\r\n \"type\": \"linear\",\r\n \"startPoint\": { \"x\": \"0%\", \"y\":\"0%\"},\r\n \"endPoint\": { \"x\": \"0%\", \"y\":\"100%\"},\r\n \"colors\": [\r\n { \"color\": \"#000\", \"offset\": 0.0 },\r\n { \"color\": \"#666\", \"offset\": 1.0 }\r\n ]\r\n}\r\n{code}\r\n\r\ngenerates this incorrect output:\r\n\r\n{code:javascript}\r\nbackgroundGradient: {\r\n type:\"linear\",\r\n startPoint: {x:\"0%\",y:\"0%\",},\r\n endPoint: {x:\"0%\",y:\"100%\",},\r\n colors: [\r\n 0: {color:\"#000\",offset:0,},\r\n 1: {color:\"#666\",offset:1,},\r\n ],\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "TSS parsing does not handle arrays of object properly", "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 } } }