{ "id": "149989", "key": "TIMOB-19281", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-04T19:52:54.000+0000", "created": "2015-07-29T18:00:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.0.0", "regression" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-08-06T22: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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\n\r\nWhen passing values using the shorthand flags such as {{ti create -t app -n eric -p all -d C:\\Users\\Windo_000\\Documents\\Appcelerator_Studio_Workspace\\testing --id com.appc}} you will still be prompted for the values, whereas when passing in {{ti create --type app --name ewan --platforms all --workspace-dir C:\\Users\\Windo_000\\Documents\\Appcelerator_Studio_Workspace\\testing --id com.appc -u www.blah.com}}.\r\n\r\nThis only appears to be happening when using the Titanium CLI, when using the Appc CLI there is no prompting if these values are passed in.\r\n\r\n*This is a regression*\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Run the following command {{{ti create -t app -n eric -p all -d C:\\Users\\Windo_000\\Documents\\Appcelerator_Studio_Workspace\\testing --id com.appc -u www.blah.com}}\r\n\r\nh5.Actual result\r\n\r\nYou will be prompted for the values\r\n\r\nh5.Expected result\r\n\r\nYou should not be prompted for the values", "attachment": [], "flagged": false, "summary": "CLI: Values passed in on project creation using shorthand options seem to be ignored", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Titanium CLI: 4.1.2\r\nTitanium SDK: 4.2.0.v20150729084122", "closedSprints": [ { "id": 465, "state": "closed", "name": "2015 Sprint 16 Tooling", "startDate": "2015-08-03T16:11:05.714Z", "endDate": "2015-08-15T01:11:00.000Z", "completeDate": "2015-08-18T00:59:18.251Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "358992", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/titanium/pull/230", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-04T19:52:33.000+0000", "updated": "2015-08-04T19:52:33.000+0000" }, { "id": "359236", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that if you pass in all the required shorthand (and long form) flags to Titanium CLI, you will not be prompted for the values.\r\n\r\nTested on:\r\n\r\nTi CLI: 4.1.4\r\nSDK: 4.2.0.v20150805163626\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-06T22:00:11.000+0000", "updated": "2015-08-06T22:00:11.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }