{ "id": "111257", "key": "TIMOB-13083", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-06T00:47:33.000+0000", "created": "2013-03-15T19:00:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-sdk3.1.0" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27310", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "108358", "key": "TIMOB-12367", "fields": { "summary": "CLI: More elegant solution for users that delete or have not selected SDK", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "27306", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "109010", "key": "TIMOB-12549", "fields": { "summary": "CLI: Setting invalid project sdk gives inappropriate error message.", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T22:47:15.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": "If a bad SDK is passed in, for example \"ti build -p ios -s 4.2.9\", the resulting error is: [ERROR] \"build\" is an unrecognized command.\r\n\r\nThis error does not indicate the actual problem is that the SDK is not there.\r\n\r\nThis is not a regression\r\n\r\nSteps to reproduce:\r\n1) Create a project\r\n2) Attempt to build the project with a bad SDK\r\n\r\nResult:\r\n[ERROR] \"build\" is an unrecognized command.\r\n\r\nExpected:\r\nSomething along the lines: \"SDK 4.2.9 not found\"", "attachment": [], "flagged": false, "summary": "CLI: Passing a bad SDK version results in misleading error", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.2.GA\r\nSDK: 3.1.0.v20130314120115\r\nTitanium Studio, build: 3.0.2.201302191606 ", "comment": { "comments": [ { "id": "256354", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Marking as dupe of TIMOB-12367.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-06-06T00:47:33.000+0000", "updated": "2013-06-06T00:47:33.000+0000" }, { "id": "414621", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:47:15.000+0000", "updated": "2017-03-21T22:47:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }