{ "id": "117957", "key": "TIMOB-14755", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-28T16:33:12.000+0000", "created": "2013-08-02T21:28:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.2.0" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-20T02:42:41.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": "From a project dir, run \"ti project -o json --log-level trace\" and you'll get:\r\n\r\n{code}\r\n[DEBUG] No project level plugins to load\r\n[DEBUG] Loaded plugin hooks:\r\n[DEBUG] /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/cli/hooks/plugins.js\r\n{\r\n\t\"deployment-targets\": {\r\n\t\t\"android\": true,\r\n\t\t\"blackberry\": true,\r\n\t\t\"ipad\": true,\r\n\t\t\"iphone\": true,\r\n\t\t\"mobileweb\": true,\r\n\t\t\"tizen\": true\r\n\t},\r\n\t\"sdk-version\": \"3.1.1.GA\",\r\n\t\"id\": \"com.appcelerator.testapp2\",\r\n\t\"name\": \"testapp2\",\r\n\t\"version\": \"1.0\",\r\n\t\"publisher\": \"not specified\",\r\n\t\"url\": \"http://www.google.com/\",\r\n\t\"description\": \"not specified\",\r\n\t\"copyright\": \"not specified\",\r\n\t\"icon\": \"appicon.png\",\r\n\t\"analytics\": true,\r\n\t\"guid\": \"0cf6aa04-a863-4a4c-8262-e8a04bc124f2\"\r\n}\r\n{code}\r\n\r\nIf you run \"ti project -o json --log-level info\", it works as expected.\r\n\r\nJust need to suppress all log output when outputting as json.", "attachment": [], "flagged": false, "summary": "CLI: 'titanium project' outputs debug messages when --output json", "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, "comment": { "comments": [ { "id": "276882", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4861", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-26T00:07:36.000+0000", "updated": "2013-10-26T00:07:36.000+0000" }, { "id": "280288", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code}\r\n ti project -o json --log-level trace\r\n{\r\n\t\"deployment-targets\": {\r\n\t\t\"android\": true,\r\n\t\t\"blackberry\": true,\r\n\t\t\"ipad\": true,\r\n\t\t\"iphone\": true,\r\n\t\t\"mobileweb\": true,\r\n\t\t\"tizen\": false\r\n\t},\r\n\t\"sdk-version\": \"3.2.0.v20131118142443\",\r\n\t\"id\": \"com.appc.test1\",\r\n\t\"name\": \"test1\",\r\n\t\"version\": \"1.0\",\r\n\t\"publisher\": \"oromero\",\r\n\t\"url\": \"http://\",\r\n\t\"description\": \"not specified\",\r\n\t\"copyright\": \"2013 by oromero\",\r\n\t\"icon\": \"appicon.png\",\r\n\t\"analytics\": true,\r\n\t\"guid\": \"7545cead-9d9f-4487-a320-9c72261d24fd\"\r\n}\r\n\r\n{code}\r\n\r\n{code}\r\n ti project -o json --log-level info\r\n{\r\n\t\"deployment-targets\": {\r\n\t\t\"android\": true,\r\n\t\t\"blackberry\": true,\r\n\t\t\"ipad\": true,\r\n\t\t\"iphone\": true,\r\n\t\t\"mobileweb\": true,\r\n\t\t\"tizen\": false\r\n\t},\r\n\t\"sdk-version\": \"3.2.0.v20131118142443\",\r\n\t\"id\": \"com.appc.test1\",\r\n\t\"name\": \"test1\",\r\n\t\"version\": \"1.0\",\r\n\t\"publisher\": \"oromero\",\r\n\t\"url\": \"http://\",\r\n\t\"description\": \"not specified\",\r\n\t\"copyright\": \"2013 by oromero\",\r\n\t\"icon\": \"appicon.png\",\r\n\t\"analytics\": true,\r\n\t\"guid\": \"7545cead-9d9f-4487-a320-9c72261d24fd\"\r\n}\r\n\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-20T02:40:52.000+0000", "updated": "2013-11-20T02:41:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }