{ "id": "99563", "key": "TIMOB-10536", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "99041", "key": "TIMOB-10409", "fields": { "summary": "TIAPI: Deprecate updateLayout, startLayout, finishLayout", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [ { "id": "14065", "description": "Sprint 2012-17 API", "name": "Sprint 2012-17 API", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-24T17:52:31.000+0000", "created": "2012-08-21T16:22:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20082", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "99562", "key": "TIMOB-10535", "fields": { "summary": "Android: Deprecate updateLayout, startLayout, finishLayout", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "20084", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "99564", "key": "TIMOB-10537", "fields": { "summary": "MobileWeb: Deprecate updateLayout, startLayout, finishLayout", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-07T18:54:47.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": null, "attachment": [], "flagged": false, "summary": "iOS: Deprecate updateLayout, startLayout, finishLayout", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "215756", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending [2810|https://github.com/appcelerator/titanium_mobile/pull/2810]", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-22T22:12:27.000+0000", "updated": "2012-08-22T22:12:27.000+0000" }, { "id": "216053", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h4.Testing Instruction.\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win = Titanium.UI.createWindow({  \r\n    title:'Tab 1',\r\n   \r\n});\r\n \r\nvar view = Ti.UI.createView({\r\n\ttop:10,\r\n\twidth: 200,\r\n\theight: 300,\r\n\tbackgroundColor:'blue',\r\n\t\r\n});\r\nwin.add(view);\r\nvar button= Ti.UI.createButton({\r\n\ttitle:'startLayout/finishLayout',\r\n\twidth:Ti.UI.SIZE,\r\n\theight:Ti.UI.SIZE,\r\n\tbottom: 50\r\n\t});\r\nwin.add(button);\r\nbutton.addEventListener('click',function(){\r\n\tview.startLayout();\r\n\tview.top = 50;\r\n\tview.backgroundColor = 'red';\r\n\tview.finishLayout();\r\n});\r\n\r\nvar button1= Ti.UI.createButton({\r\n\ttitle:'updateLayout',\r\n\twidth:Ti.UI.SIZE,\r\n\theight:Ti.UI.SIZE,\r\n\tbottom: 150\r\n\t});\r\nwin.add(button1);\r\nbutton1.addEventListener('click',function(){\r\n\tview.updateLayout({top:150, left:50, backgroundColor:'yellow'});\r\n});\r\nwin.open();\r\n{code}\r\n\r\n1. You should see startlayout , finishlayout and updateLayout deprecation `[DEBUG]` warning when click the appropriate button", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-24T13:36:35.000+0000", "updated": "2012-08-24T13:36:35.000+0000" }, { "id": "409555", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-07T18:54:47.000+0000", "updated": "2017-03-07T18:54:47.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }