{ "id": "172121", "key": "AC-5858", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-08-24T06:48:55.000+0000", "created": "2018-08-23T15:41:01.000+0000", "labels": [ "android", "ios" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-24T06:48:55.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": "14558", "name": "Arrow Cloud" } ], "description": "I'm trying to get all friends of a user from the cloud but always the limit is 10 records returning. Tried to change the limit value but with no success.\r\n\r\nThis request returns only 10 friends (using the default value of limit property):\r\nCloud.sendRequest({\r\n\turl : \"friends/query.json\",\r\n\tmethod : \"GET\",\r\n}\r\n\r\nThis request returns none (wrong syntax?):\r\nCloud.sendRequest({\r\n\turl : \"friends/query.json?limit=1000\",\r\n\tmethod : \"GET\",\r\n}\r\n\r\nAlso tried this:\r\nCloud.sendRequest({\r\n\tlimit: 1000\r\n\turl : \"friends/query.json\",\r\n\tmethod : \"GET\",\r\n}\r\n\r\nand some other variations but nothing works. \r\nMy app is already in prod and this issue was reported by usres. Please assist.", "attachment": [], "flagged": false, "summary": "Cloud Get Friends: limit value stays default 10", "creator": { "name": "ashalem", "key": "ashalem", "displayName": "Adi Shalem", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ashalem", "key": "ashalem", "displayName": "Adi Shalem", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "441034", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a duplicate of a ticket that is already being handled. Closing.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-24T06:48:51.000+0000", "updated": "2018-08-24T06:48:51.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }