{ "id": "104883", "key": "ALOY-379", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14633", "description": "Alloy 0.3.3", "name": "Alloy 0.3.3", "archived": false, "released": true, "releaseDate": "2012-11-30" }, { "id": "14772", "description": "2012 Sprint 24", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-28T22:02:04.000+0000", "created": "2012-11-13T17:19:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "notable" ], "versions": [], "issuelinks": [ { "id": "22835", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "104320", "key": "ALOY-360", "fields": { "summary": "Model-View binding", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "22761", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "104712", "key": "ALOY-373", "fields": { "summary": "Create in markup (singleton)", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-07T22:25:47.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "The tag currently only creates/references a global singleton version of the collection. We need to implement such that instances bound to the current controller can be created as well.\r\n\r\nh2. Proposed Syntax\r\n\r\n*NOTE:* must always be the child of \r\n\r\nh4. Singleton\r\n{code:xml}\r\n\r\n\r\n \r\n \r\n\r\n{code}\r\n\r\nh4. Instance\r\n{code:xml}\r\n\r\n\r\n \r\n \r\n\r\n{code}\r\n\r\nWhile a singleton would be made available in Alloy.Collections, an instance collection will be attached to the current controller just as a UI component. So the above instance collection would be accessible in controller code like this:\r\n\r\n{code:javascript}\r\nvar collectionInstance = $.someId;\r\n{code}", "attachment": [], "flagged": false, "summary": "Create in markup (instance)", "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": [ { "id": "228909", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In the process of creating instances, a lot of additional validation and error reporting was added to the Alloy.Collection parser. In addition, the models/todo_binding test app was updated and had a bug or two in it fixed.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T22:02:04.000+0000", "updated": "2012-11-28T22:02:04.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }