{ "id": "108742", "key": "ALOY-491", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-07-07T16:33:55.000+0000", "created": "2013-01-29T16:54:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:48.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": "13605", "name": "Models" }, { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "The only way to create data binding at this point is in markup. It would be nice to be able to create this binding in code as well. I'll have to do some thinking, research, and solicitation of feedback, but it might look something like this:\r\n\r\n{code:javascript}\r\nAlloy.bind($.someLabel, 'text', Alloy.Models.someModel, 'modelProperty');\r\n{code}\r\n\r\nIt should be a function on the Alloy namespace somewhere, not on the proxies to avoid the overhead of adding functions to proxy objects.", "attachment": [], "flagged": false, "summary": "Alloy bind() function for creating data binding in 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": [ { "id": "312575", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Duplicate of ALOY-931", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-07T16:33:55.000+0000", "updated": "2014-07-07T16:33:55.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }