{ "id": "164570", "key": "TIMOB-24162", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "2019-10-02T05:57:58.000+0000", "created": "2016-11-17T11:17:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "57854", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "129242", "key": "TIMOB-16869", "fields": { "summary": "CLI: Allow build configuration overrides in the tiapp.xml", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2019-10-21T15:41:38.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "The current config.json file only allows a specific set of environments. According to the manual, some of these are tightly coupled to running on a 'device' or running on an 'emulator'.\r\n\r\nThis setup restricts a lot of freedom for the developers. Nor does it provide ease of use, since we cant select a certain config for a certain build.\r\n\r\nThis might has to do with the {{titanium build -D/\\-\\-deploy\\-type}} command, in how that selects the correct config.\r\nThe problem I'm having is that the `env:test` in my config.json is currently empty because I cant use it. `env:test` is bound to be used on testing on a device, while i actually want it to run unit tests no matter what target i deploy it onto.\r\n\r\nhttps://wiki.appcelerator.org/pages/viewpage.action?pageId=35620077", "attachment": [], "flagged": false, "summary": "Allow custom environments in config.json", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Any", "comment": { "comments": [ { "id": "401467", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Thanks for submitting the request. Our engineering team will consider it. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-17T19:46:21.000+0000", "updated": "2016-11-17T19:46:21.000+0000" }, { "id": "451756", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "iOS Simulator and Android emulator builds have a default deploy target of \"development\". This can be overwritten using the {{\\-\\-deploy-type test}} CLI option.\r\n\r\niOS and Android device builds have a default deploy target of \"test\". This can be overwritten using the {{\\-\\-deploy-type development}} CLI option.\r\n\r\nYou cannot change the deploy type for distribution builds as they will always be production.\r\n\r\nHowever, TIMOB-16869 most closely describes the ultimate goal here of decoupling settings from a deploy type. Resolving as a duplicate.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-02T05:57:58.000+0000", "updated": "2019-10-02T05:57:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }