{"action":"created","issue":{"url":"https://api.github.com/repos/StackStorm/st2/issues/2057","labels_url":"https://api.github.com/repos/StackStorm/st2/issues/2057/labels{/name}","comments_url":"https://api.github.com/repos/StackStorm/st2/issues/2057/comments","events_url":"https://api.github.com/repos/StackStorm/st2/issues/2057/events","html_url":"https://github.com/StackStorm/st2/pull/2057","id":110555342,"number":2057,"title":"Switch to using index based lookup instead of first","user":{"login":"manasdk","id":1776099,"avatar_url":"https://avatars.githubusercontent.com/u/1776099?v=3","gravatar_id":"","url":"https://api.github.com/users/manasdk","html_url":"https://github.com/manasdk","followers_url":"https://api.github.com/users/manasdk/followers","following_url":"https://api.github.com/users/manasdk/following{/other_user}","gists_url":"https://api.github.com/users/manasdk/gists{/gist_id}","starred_url":"https://api.github.com/users/manasdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manasdk/subscriptions","organizations_url":"https://api.github.com/users/manasdk/orgs","repos_url":"https://api.github.com/users/manasdk/repos","events_url":"https://api.github.com/users/manasdk/events{/privacy}","received_events_url":"https://api.github.com/users/manasdk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T22:37:17Z","updated_at":"2015-10-08T22:39:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2/pulls/2057","html_url":"https://github.com/StackStorm/st2/pull/2057","diff_url":"https://github.com/StackStorm/st2/pull/2057.diff","patch_url":"https://github.com/StackStorm/st2/pull/2057.patch"},"body":"* Oddly .first() did not return the value that [0] did eventhough\r\n  there is a value. It happened for a specific type so likely something\r\n  to do with the query and perhaps a bug in mongoengine."},"comment":{"url":"https://api.github.com/repos/StackStorm/st2/issues/comments/146707782","html_url":"https://github.com/StackStorm/st2/pull/2057#issuecomment-146707782","issue_url":"https://api.github.com/repos/StackStorm/st2/issues/2057","id":146707782,"user":{"login":"lakshmi-kannan","id":1839421,"avatar_url":"https://avatars.githubusercontent.com/u/1839421?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshmi-kannan","html_url":"https://github.com/lakshmi-kannan","followers_url":"https://api.github.com/users/lakshmi-kannan/followers","following_url":"https://api.github.com/users/lakshmi-kannan/following{/other_user}","gists_url":"https://api.github.com/users/lakshmi-kannan/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshmi-kannan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshmi-kannan/subscriptions","organizations_url":"https://api.github.com/users/lakshmi-kannan/orgs","repos_url":"https://api.github.com/users/lakshmi-kannan/repos","events_url":"https://api.github.com/users/lakshmi-kannan/events{/privacy}","received_events_url":"https://api.github.com/users/lakshmi-kannan/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T22:39:22Z","updated_at":"2015-10-08T22:39:22Z","body":"So weird! I am skeptical. "}}