{ "id": "131367", "key": "TIMOB-17087", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-06T18:32:32.000+0000", "created": "2014-06-06T18:21:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.3.0", "qe-testadded", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-18T08:33:55.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Problem occurs when you run something like:\r\n\r\n{code}\r\nti config android.autoSelectDevice true\r\n{code}\r\n\r\nWhen you run {{ti config android.autoSelectDevice}}, it returns {{1}} instead of {{true}}.", "attachment": [], "flagged": false, "summary": "CLI: Config command saves booleans as integers", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 119, "state": "closed", "name": "2014 Sprint 11 Tooling", "startDate": "2014-05-27T16:30:27.477Z", "endDate": "2014-06-07T01:30:00.000Z", "completeDate": "2014-06-12T20:51:59.189Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "307865", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI Master pull request: https://github.com/appcelerator/titanium/pull/142\r\nTitanium CLI 3_3_X pull request: https://github.com/appcelerator/titanium/pull/143", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-06T18:25:11.000+0000", "updated": "2014-06-06T18:25:11.000+0000" }, { "id": "309526", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fixed with environment:\r\n\r\nAppcelerator-Studio:3.3.0.201406171619 \r\nSdk:3.3.0.v20140617161713\r\nacs:1.0.14\r\nalloy:1.4.0-rc\r\nnpm:1.3.2\r\ntitanium:3.3.0-rc\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nOS:Maverick(10.9.3)\r\n\r\n\r\nSteps followed:\r\n1.Run the command.\r\n{code}\r\nti config android.autoSelectDevice true\r\n{code}\r\nAfter the configuration getting saved.\r\nAgain run the command\r\n ti config android.autoSelectDevice, it returns true instead of 1.\r\n\r\n\r\nWorking as expected.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T08:33:39.000+0000", "updated": "2014-06-18T08:33:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }