{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/127","labels_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/127/comments","events_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/127/events","html_url":"https://github.com/theforeman/foreman-tasks/pull/127","id":96322558,"number":127,"title":"fixes #11162 : add scoped_search parent_task_id to task model","user":{"login":"bbuckingham","id":1319246,"avatar_url":"https://avatars.githubusercontent.com/u/1319246?v=3","gravatar_id":"","url":"https://api.github.com/users/bbuckingham","html_url":"https://github.com/bbuckingham","followers_url":"https://api.github.com/users/bbuckingham/followers","following_url":"https://api.github.com/users/bbuckingham/following{/other_user}","gists_url":"https://api.github.com/users/bbuckingham/gists{/gist_id}","starred_url":"https://api.github.com/users/bbuckingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbuckingham/subscriptions","organizations_url":"https://api.github.com/users/bbuckingham/orgs","repos_url":"https://api.github.com/users/bbuckingham/repos","events_url":"https://api.github.com/users/bbuckingham/events{/privacy}","received_events_url":"https://api.github.com/users/bbuckingham/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theforeman/foreman-tasks/labels/Needs%20re-review","name":"Needs re-review","color":"ededed"},{"url":"https://api.github.com/repos/theforeman/foreman-tasks/labels/Needs%20testing","name":"Needs testing","color":"ededed"},{"url":"https://api.github.com/repos/theforeman/foreman-tasks/labels/Not%20yet%20reviewed","name":"Not yet reviewed","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-21T14:01:09Z","updated_at":"2015-07-22T07:35:20Z","closed_at":"2015-07-22T07:34:50Z","pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-tasks/pulls/127","html_url":"https://github.com/theforeman/foreman-tasks/pull/127","diff_url":"https://github.com/theforeman/foreman-tasks/pull/127.diff","patch_url":"https://github.com/theforeman/foreman-tasks/pull/127.patch"},"body":"This change is to enable users to search for tasks (in UI or API) using\r\nthe parent_task_id.  This is useful if the user has the parent task\r\nbut needs to get access to it's children.\r\n\r\nThe following is an example of using API to query for tasks that have the same parent:\r\n\r\ncurl -k -u admin:password -H \"Content-Type:application/json\" -H \"Accept:application/json,version=2\" -X GET -d \"{\\\"search\\\": \\\"parent_task_id=50b6b3ba-fa71-4a1c-840b-e1913fc5d8a6\\\"}\" https://sat61fusor.example.com/foreman_tasks/api/tasks | json_reformat"},"comment":{"url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/comments/123591682","html_url":"https://github.com/theforeman/foreman-tasks/pull/127#issuecomment-123591682","issue_url":"https://api.github.com/repos/theforeman/foreman-tasks/issues/127","id":123591682,"user":{"login":"iNecas","id":190443,"avatar_url":"https://avatars.githubusercontent.com/u/190443?v=3","gravatar_id":"","url":"https://api.github.com/users/iNecas","html_url":"https://github.com/iNecas","followers_url":"https://api.github.com/users/iNecas/followers","following_url":"https://api.github.com/users/iNecas/following{/other_user}","gists_url":"https://api.github.com/users/iNecas/gists{/gist_id}","starred_url":"https://api.github.com/users/iNecas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNecas/subscriptions","organizations_url":"https://api.github.com/users/iNecas/orgs","repos_url":"https://api.github.com/users/iNecas/repos","events_url":"https://api.github.com/users/iNecas/events{/privacy}","received_events_url":"https://api.github.com/users/iNecas/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T07:35:20Z","updated_at":"2015-07-22T07:35:20Z","body":"@bbuckingham thanks, I will also backport tihs to 0.6.x series, to help you"}}