{ "id": "160369", "key": "ALOY-1499", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-12-11T08:33:35.000+0000", "created": "2016-05-19T20:17:29.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "api", "restapi" ], "versions": [], "issuelinks": [], "assignee": { "name": "batman", "key": "batman", "displayName": "Bruce Wayne", "active": true, "timeZone": "America/New_York" }, "updated": "2018-12-11T08:33:35.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": "13605", "name": "Models" } ], "description": "Hello, I have created multiple Rest API request in Alloy models. On first call the first request and the second request responses are correct. But, when I call the second time, Both of the request returns same response. Which is not correct. \r\n\r\nSTEP TO REPRODUCE\r\n\r\n1. Download the app.zip folder.\r\n2. Put the app folder into your Alloy project.\r\n3. Run the app in Android.\r\n4. Click the first \"Click Me\" button and see the response. Now, Click the second \"Click Me\" button and see the response. Both are different and correct. \r\n5. Now, Click again the first \"Click Me\" button and see the response. Now, Click the second \"Click Me\" button and see the response.Both are same. Which should not be happening here. \r\n\r\n\r\n\r\n\r\n", "attachment": [ { "id": "59320", "filename": "app.zip", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-19T20:08:02.000+0000", "size": 9800708, "mimeType": "application/zip" } ], "flagged": false, "summary": "Multiple Rest api request in Alloy models returns same result in second call", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.4\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.2.2.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "444388", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nI just wanted to follow up with you about this issue? Are you still experiencing this problem?\r\nPlease let us know if you need more help with this issue.\r\n\r\nThanks", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T09:05:19.000+0000", "updated": "2018-12-10T09:05:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }