{ "id": "154099", "key": "TIMOB-20190", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-07T15:47:36.000+0000", "created": "2016-01-04T13:43:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-05-24T20:00:17.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "On windows phone the database resultset.fieldName(index) returns 0,1 or NULL or field values instead of the field name from the search criteria.\r\n\r\nTo be noted that I set fieldName as aliasName in the query string.\r\n\r\nfor example: select name as full_name from contacts;", "attachment": [], "flagged": false, "summary": "Titanium.Database.ResultSet.fieldName([index]) is not returning the correct value", "creator": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kenjorai", "key": "kenjorai", "displayName": "Kai Lu", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows Phone", "closedSprints": [ { "id": 555, "state": "closed", "name": "2016 Sprint 1 SDK", "startDate": "2016-01-02T01:31:50.127Z", "endDate": "2016-01-16T01:31:00.000Z", "completeDate": "2016-01-18T00:52:43.848Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "386670", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using: \r\n\r\nWindows 10 Pro \r\nVisual Studio 2015 Community Update 2 \r\nAppc Core: 5.3.0-46 \r\nAppc NPM: 4.2.5-5 \r\nTi SDK: 5.3.0.v20160523083840\r\nLumia 520 8.1, Lumia 930 10.0\r\n\r\nTitanium.Database.ResultSet.fieldName([index]) now returns the expected value of the fields name rather than the fields values\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-05-24T20:00:05.000+0000", "updated": "2016-05-24T20:00:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }