{"action":"created","issue":{"url":"https://api.github.com/repos/solidusio/solidus/issues/885","repository_url":"https://api.github.com/repos/solidusio/solidus","labels_url":"https://api.github.com/repos/solidusio/solidus/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/solidusio/solidus/issues/885/comments","events_url":"https://api.github.com/repos/solidusio/solidus/issues/885/events","html_url":"https://github.com/solidusio/solidus/pull/885","id":135183713,"number":885,"title":"Add `apply_automatically` to factory when creating promotions without code","user":{"login":"mtomov","id":1651750,"avatar_url":"https://avatars.githubusercontent.com/u/1651750?v=3","gravatar_id":"","url":"https://api.github.com/users/mtomov","html_url":"https://github.com/mtomov","followers_url":"https://api.github.com/users/mtomov/followers","following_url":"https://api.github.com/users/mtomov/following{/other_user}","gists_url":"https://api.github.com/users/mtomov/gists{/gist_id}","starred_url":"https://api.github.com/users/mtomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtomov/subscriptions","organizations_url":"https://api.github.com/users/mtomov/orgs","repos_url":"https://api.github.com/users/mtomov/repos","events_url":"https://api.github.com/users/mtomov/events{/privacy}","received_events_url":"https://api.github.com/users/mtomov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-21T09:45:21Z","updated_at":"2016-02-24T17:36:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/885","html_url":"https://github.com/solidusio/solidus/pull/885","diff_url":"https://github.com/solidusio/solidus/pull/885.diff","patch_url":"https://github.com/solidusio/solidus/pull/885.patch"},"body":"- Otherwise, we'd need to specify it in the create(:promotion..)\r\n\r\n--\r\n\r\nHello,\r\n\r\nI've stumbled upon this necessary tweak during an upgrade from Spree to Solidus. "},"comment":{"url":"https://api.github.com/repos/solidusio/solidus/issues/comments/188370818","html_url":"https://github.com/solidusio/solidus/pull/885#issuecomment-188370818","issue_url":"https://api.github.com/repos/solidusio/solidus/issues/885","id":188370818,"user":{"login":"mtomov","id":1651750,"avatar_url":"https://avatars.githubusercontent.com/u/1651750?v=3","gravatar_id":"","url":"https://api.github.com/users/mtomov","html_url":"https://github.com/mtomov","followers_url":"https://api.github.com/users/mtomov/followers","following_url":"https://api.github.com/users/mtomov/following{/other_user}","gists_url":"https://api.github.com/users/mtomov/gists{/gist_id}","starred_url":"https://api.github.com/users/mtomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtomov/subscriptions","organizations_url":"https://api.github.com/users/mtomov/orgs","repos_url":"https://api.github.com/users/mtomov/repos","events_url":"https://api.github.com/users/mtomov/events{/privacy}","received_events_url":"https://api.github.com/users/mtomov/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T17:36:35Z","updated_at":"2016-02-24T17:36:35Z","body":"Updated to have the tests passing. Let me know if you'd find this useful."}}