{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/7477","repository_url":"https://api.github.com/repos/dmwm/WMCore","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/7477/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/7477/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/7477/events","html_url":"https://github.com/dmwm/WMCore/pull/7477","id":195828644,"number":7477,"title":"Update WorkQueue Interface code for getting work by status","user":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"labels":[{"id":311378297,"url":"https://api.github.com/repos/dmwm/WMCore/labels/Do%20not%20merge%20yet","name":"Do not merge yet","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"assignees":[{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-12-15T15:06:21Z","updated_at":"2016-12-15T17:56:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmwm/WMCore/pulls/7477","html_url":"https://github.com/dmwm/WMCore/pull/7477","diff_url":"https://github.com/dmwm/WMCore/pull/7477.diff","patch_url":"https://github.com/dmwm/WMCore/pull/7477.patch"},"body":"Tricky returned data from ReqMgr apis. If details are set to False, then it returns a flat list.\r\nIf True, then it returns a list with a dict (plus several inner dictionaries).\r\n\r\nBTW, I completely removed `_getRequestsByTeamsAndStatus` because it was used only by GQ and, GQ doesn't get/split work based on teams, it simply gets whatever is in \"assigned\" or \"running-closed\".\r\n\r\nFinally, I've also removed the \"Teams\" check because we now validate the team data during assignment (must be a non empty string - tested it this afternoon).\r\n\r\n@ticoann we need this patch in otherwise GQ will break nicely. Please review. \r\nTests look good so far"},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/267395766","html_url":"https://github.com/dmwm/WMCore/pull/7477#issuecomment-267395766","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/7477","id":267395766,"user":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T17:56:19Z","updated_at":"2016-12-15T17:56:19Z","body":"test this please"}}
{"actor":{"display_login":"ticoann"}}