{ "id": "143101", "key": "AC-976", "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": "2015-09-29T01:48:25.000+0000", "created": "2015-01-19T12:43:12.000+0000", "labels": [ "ACS", "search.json", "total_pages" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:18.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": "14545", "name": "Documentation" } ], "description": "we are using an ACS service serach.json to get the registered user list, it was returning following json object:\r\n{\"meta\":{\"code\":200,\"status\":\"ok\",\"method_name\":\"searchUsers\",\"page\":1,\"per_page\":500,\"total_pages\":1,\"total_results\":500},,\"response\":{\"users\":..........}\r\n\r\nfew days ago we are getting proper count of total_pages in meta information tag, but now its returning \"1\" (always).\r\n\r\nPlease check this service and its meta information part and provide correction.\r\n\r\nwe are hitting the service through dot net code using below steps:\r\n1. Login to ACS using users/login.json service\r\n2. After successfull login we hit search service\r\n", "attachment": [], "flagged": false, "summary": "ACS service is not returning proper count", "creator": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "ACS cloud user", "comment": { "comments": [ { "id": "339820", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nhow many users it should be there in result?\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-20T01:12:37.000+0000", "updated": "2015-01-20T01:12:37.000+0000" }, { "id": "339840", "author": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "we have around 22000 registered user on ACS.", "updateAuthor": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-20T05:19:22.000+0000", "updated": "2015-01-20T05:19:22.000+0000" }, { "id": "339841", "author": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1. I hit the service login.json with admin user account. \r\n\r\nwe have more than 22000 registered user on ACS.\r\n\r\n2. Old result was like this:\r\n\r\n{\"code\":200,\"status\":\"ok\",\"method_name\":\"searchUsers\",\"page\":1,\"per_page\":500,\"total_pages\":44,\"total_results\":500} ,,\"response\": {\"users\":..........}\r\n\r\ndifference in result is:\r\n\r\nPreviously we are getting total_pages is around 44, but now we are getting always 1", "updateAuthor": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-20T05:25:18.000+0000", "updated": "2015-01-20T05:25:18.000+0000" }, { "id": "339842", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease provide the app-key of your app, for security season, you can email me the key to: sliang@appcelerator.com\r\n\r\nI will check it from our side. \r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-20T05:30:06.000+0000", "updated": "2015-01-20T05:30:06.000+0000" }, { "id": "339845", "author": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Shuo,\r\n\r\nApp Key sent to you.\r\n\r\nRegards,\r\nPraveen", "updateAuthor": { "name": "praveen.siet@gmail.com", "key": "praveen.siet@gmail.com", "displayName": "Praveen Kumar", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-20T05:58:33.000+0000", "updated": "2015-01-20T05:58:33.000+0000" }, { "id": "339856", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-20T07:05:21.000+0000", "updated": "2015-01-20T07:05:21.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }