{ "id": "99943", "key": "TIMOB-10679", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-08-27T21:25:54.000+0000", "created": "2012-08-27T16:12:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:52:43.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "mapView is object of type TiMapView\r\n\r\nvar toRemove = []\r\nvar ar = mapView.getAnnotations();\r\n// ... push some elements of ar[] into toRemove\r\nmapView.removeAnnotations(toRemove);\r\n\r\n// all annotations remain\r\n// mapView.removeAnnotation(ar[i]) removing annotations one at a time worked.\r\n", "attachment": [], "flagged": false, "summary": "Titanium.Map.View.removeAnnotations([]) did not remove annotations", "creator": { "name": "twilkinson", "key": "twilkinson", "displayName": "Thomas Wilkinson", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "twilkinson", "key": "twilkinson", "displayName": "Thomas Wilkinson", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "216381", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Thomas - Please provide a complete test case to reproduce this issue. Refer to JIRA bug filing guidelines for more information.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-27T21:23:34.000+0000", "updated": "2012-08-27T21:23:34.000+0000" }, { "id": "411121", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the request for more information has not been provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:52:43.000+0000", "updated": "2017-03-09T23:52:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }