{ "id": "161291", "key": "TIMOB-23551", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-11-09T19:25:16.000+0000", "created": "2016-06-23T00:44:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:37:02.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "There should be a way to determine the type of a Hyperloop Object in order to type check it if needed. This could be done using the {{.apiName}} concept used in Titanium or perhaps a {{className}} property on the object.", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - Objects should have have a `className` parameter", "creator": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "environment": "iOS, Android, Windows", "closedSprints": [ { "id": 968, "state": "closed", "name": "2017 Sprint 23 SDK", "startDate": "2017-11-05T16:37:25.071Z", "endDate": "2017-11-19T16:37:00.000Z", "completeDate": "2017-11-20T18:57:56.565Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389120", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "This may already exist, can we confirm that the function `isInstanceOf` returns the expected ClassName?\r\n\r\n", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2016-06-27T12:49:25.000+0000", "updated": "2016-06-27T12:49:25.000+0000" }, { "id": "430353", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Already implemented via the {{instanceof}} operator.\r\n\r\n{code}\r\nar Activity = require('android.app.Activity');\r\nvar Context = require('android.content.Context');\r\nvar View = require('android.view.View');\r\nvar currentActivity = new Activity(Ti.Android.currentActivity);\r\nconsole.log(currentActivity instanceof Activity); // Prints true\r\nconsole.log(currentActivity instanceof Context); // Prints true\r\nconsole.log(currentActivity instanceof View); // Prints false\r\n{code}", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-09T19:23:49.000+0000", "updated": "2017-11-09T19:25:32.000+0000" }, { "id": "439917", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:02.000+0000", "updated": "2018-08-06T17:37:02.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }