{ "id": "170164", "key": "DAEMON-115", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-15T23:34:32.000+0000", "created": "2017-10-28T04:59:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-11-15T23:34:32.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": [ { "id": "15049", "name": "appcd", "description": "Bootstrap, appcd CLI commands (start, stop, restart, exec, logcat, config, status)" }, { "id": "15300", "name": "appcd-config-service" } ], "description": "When the {{--json}} flag is passed to {{appcd config}}, the response should always be a JSON object that contains a status code along with either a result value or an error message.", "attachment": [], "flagged": false, "summary": "appcd: config command should maybe return object when --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, "closedSprints": [ { "id": 969, "state": "closed", "name": "2017 Sprint 23 Tooling", "startDate": "2017-11-05T16:36:50.292Z", "endDate": "2017-11-19T16:36:00.000Z", "completeDate": "2017-11-20T18:58:45.002Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "429884", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'm not sure this is a good idea. While it is JavaScript/Node friendly, it's not very Unix-y.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-10-31T06:19:18.000+0000", "updated": "2017-10-31T06:19:18.000+0000" }, { "id": "430157", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cbarber] Would the standard output i.e. non\\-{{\\-\\-json}} not be good enough for people wanting to pipe stuff between commands? I'm guessing the main consumers of the config command with {{--json}} would be internal tooling? (I would expect Studio to use websockets as opposed to spawning processes).\r\n\r\nI think a json response with a response value and appropriate (and documented) error code would be useful", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-06T14:45:25.000+0000", "updated": "2017-11-06T14:45:25.000+0000" }, { "id": "430728", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/appc-daemon/pull/148", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-15T18:40:20.000+0000", "updated": "2017-11-15T18:40:20.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }