{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4932","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4932/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4932/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4932/events","html_url":"https://github.com/ManageIQ/manageiq/pull/4932","id":111869409,"number":4932,"title":"Expose user, tenant, group to automate method","user":{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/automate","name":"automate","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/tenancy","name":"tenancy","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-16T16:53:10Z","updated_at":"2015-10-20T02:54:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/4932","html_url":"https://github.com/ManageIQ/manageiq/pull/4932","diff_url":"https://github.com/ManageIQ/manageiq/pull/4932.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/4932.patch"},"body":"The current_tenant and current_group from the passed in\r\nuser object is exposed to Automate method as attributes of root\r\nobject\r\n\r\n- $evm.root['user']      => User Object\r\n- $evm.root['tenant']    => Tenant Object\r\n- $evm.root['miq_group'] => Group Object\r\n\r\nThese objects are ServiceModel wrapped objects and would\r\nonly expose the attributes and functions defined in the service model\r\nfor these classes"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/149412938","html_url":"https://github.com/ManageIQ/manageiq/pull/4932#issuecomment-149412938","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/4932","id":149412938,"user":{"login":"kbrock","id":1930,"avatar_url":"https://avatars.githubusercontent.com/u/1930?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrock","html_url":"https://github.com/kbrock","followers_url":"https://api.github.com/users/kbrock/followers","following_url":"https://api.github.com/users/kbrock/following{/other_user}","gists_url":"https://api.github.com/users/kbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrock/subscriptions","organizations_url":"https://api.github.com/users/kbrock/orgs","repos_url":"https://api.github.com/users/kbrock/repos","events_url":"https://api.github.com/users/kbrock/events{/privacy}","received_events_url":"https://api.github.com/users/kbrock/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T02:54:29Z","updated_at":"2015-10-20T02:54:29Z","body":"@mkanoor this is very cool. ping when these changes are in."}}