{ "id": "94215", "key": "ALOY-83", "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": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-19T11:52:02.000+0000", "created": "2012-07-01T14:45:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:21:04.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "h2. Basic Description\r\n\r\nTo allow marking to make platform-specific code, we should use the \"platform\" attribute with basic logic in it. The generated code should use compiler directives if the platform is known at compile time. It will use runtime checks if the platform is not known at compile time.\r\n\r\n* The platform name will indicate its usage\r\n* The exclamation point \\(!\\) will negate a platform\r\n* A comma \\(,\\) will serve as an OR operator\r\n\r\nh2. Examples\r\n\r\nh4. \r\nThis would show the view on android and ios devices\r\n\r\nh4. \r\nThis would should the view on any platform that is not mobileweb", "attachment": [], "flagged": false, "summary": "Allow platform conditionals in markup via the \"platform\" attribute", "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": "201110", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Both the runtime and compile time conditional have been implemented. Additional work needs to be done to ensure that special tag parsers that handle the parsing of their children also abide by these platform specifications.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-02T09:56:21.000+0000", "updated": "2012-07-02T09:56:21.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }