{"action":"created","issue":{"url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/687","repository_url":"https://api.github.com/repos/JorgeFerrer/liferay-portal","labels_url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/687/comments","events_url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/687/events","html_url":"https://github.com/JorgeFerrer/liferay-portal/pull/687","id":140274842,"number":687,"title":"LPS-52177 Company Deletion","user":{"login":"arbetts","id":4163848,"avatar_url":"https://avatars.githubusercontent.com/u/4163848?v=3","gravatar_id":"","url":"https://api.github.com/users/arbetts","html_url":"https://github.com/arbetts","followers_url":"https://api.github.com/users/arbetts/followers","following_url":"https://api.github.com/users/arbetts/following{/other_user}","gists_url":"https://api.github.com/users/arbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/arbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbetts/subscriptions","organizations_url":"https://api.github.com/users/arbetts/orgs","repos_url":"https://api.github.com/users/arbetts/repos","events_url":"https://api.github.com/users/arbetts/events{/privacy}","received_events_url":"https://api.github.com/users/arbetts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T19:48:19Z","updated_at":"2016-03-15T08:21:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/pulls/687","html_url":"https://github.com/JorgeFerrer/liferay-portal/pull/687","diff_url":"https://github.com/JorgeFerrer/liferay-portal/pull/687.diff","patch_url":"https://github.com/JorgeFerrer/liferay-portal/pull/687.patch"},"body":"https://github.com/drewbrokke/liferay-portal/pull/177\r\n\r\nThe last three commits are optional. I say an opportunity to simplify some of the logic because it seems like some of it was duplicate logic. \r\n\r\nIf we don't want to enforce that parentGroups and child Groups must be a part of the same company then we can just skip ea0fa6d and 13279fb \r\n\r\ncc @drewbrokke @pei-jung "},"comment":{"url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/comments/196712603","html_url":"https://github.com/JorgeFerrer/liferay-portal/pull/687#issuecomment-196712603","issue_url":"https://api.github.com/repos/JorgeFerrer/liferay-portal/issues/687","id":196712603,"user":{"login":"JorgeFerrer","id":868032,"avatar_url":"https://avatars.githubusercontent.com/u/868032?v=3","gravatar_id":"","url":"https://api.github.com/users/JorgeFerrer","html_url":"https://github.com/JorgeFerrer","followers_url":"https://api.github.com/users/JorgeFerrer/followers","following_url":"https://api.github.com/users/JorgeFerrer/following{/other_user}","gists_url":"https://api.github.com/users/JorgeFerrer/gists{/gist_id}","starred_url":"https://api.github.com/users/JorgeFerrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorgeFerrer/subscriptions","organizations_url":"https://api.github.com/users/JorgeFerrer/orgs","repos_url":"https://api.github.com/users/JorgeFerrer/repos","events_url":"https://api.github.com/users/JorgeFerrer/events{/privacy}","received_events_url":"https://api.github.com/users/JorgeFerrer/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T08:21:09Z","updated_at":"2016-03-15T08:21:09Z","body":"Hey Andrew,\r\n\r\nI like the condition you have added to make sure the relationships never span two companies. Ideally this should be done always, otherwise unexpected thing will happen."}}