{ "id": "152075", "key": "AC-464", "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-11-08T14:52:38.000+0000", "created": "2015-10-15T09:49:47.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-08T14:52:38.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": [], "description": "in Appcelerator Studio Ti.Contacts.getAllPeople return all contacts with their information , but when contact phone number saved as custom label iOS the phone array return undefined .\r\n\r\n{color:gray} example ( no custom label ) :\r\n\r\n var people = Ti.Contacts.getAllPeople();\r\n var person = people[0]\r\n // first person phone number label is \"home\"\r\n output person.['phone'][\"home\"] = [000-00-00];{color}\r\n\r\n\r\n{color:red}example ( custom label ) :\r\n\r\n var people = Ti.Contacts.getAllPeople();\r\n var person = people[0]\r\n // first person phone number label is \"Blablabla\"\r\n output person['phone'] = undefined;{color}\r\n\r\n\r\ni mean by custom label in iPhone 5,6 etc when u add phone number u can assigen it as custom label , if so the phone array return undefined . is this a bug in appcelerator ?", "attachment": [], "flagged": false, "summary": "Ti.Contacts.getAllPeople phone array with custom label return undefined ?", "creator": { "name": "jackSparrow", "key": "jacksparrow", "displayName": "jack sparrow", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jackSparrow", "key": "jacksparrow", "displayName": "jack sparrow", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti.Contacts.getAllPeople phone array with custom label return undefined ", "comment": { "comments": [ { "id": "366920", "author": { "name": "jackSparrow", "key": "jacksparrow", "displayName": "jack sparrow", "active": true, "timeZone": "America/Los_Angeles" }, "body": "i did provide a test case , when contact person has phone number saved in custom label the phone array return undefined !", "updateAuthor": { "name": "jackSparrow", "key": "jacksparrow", "displayName": "jack sparrow", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-15T10:21:41.000+0000", "updated": "2015-10-15T10:21:41.000+0000" }, { "id": "369352", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-08T14:52:12.000+0000", "updated": "2015-11-08T14:52:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }