{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/818","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/818/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/818/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/818/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/818","id":132069831,"number":818,"title":"Automatic closure of an order cycle to prevent over-ordering","user":{"login":"NickWeir63","id":10517702,"avatar_url":"https://avatars.githubusercontent.com/u/10517702?v=3","gravatar_id":"","url":"https://api.github.com/users/NickWeir63","html_url":"https://github.com/NickWeir63","followers_url":"https://api.github.com/users/NickWeir63/followers","following_url":"https://api.github.com/users/NickWeir63/following{/other_user}","gists_url":"https://api.github.com/users/NickWeir63/gists{/gist_id}","starred_url":"https://api.github.com/users/NickWeir63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickWeir63/subscriptions","organizations_url":"https://api.github.com/users/NickWeir63/orgs","repos_url":"https://api.github.com/users/NickWeir63/repos","events_url":"https://api.github.com/users/NickWeir63/events{/privacy}","received_events_url":"https://api.github.com/users/NickWeir63/received_events","type":"User","site_admin":false},"labels":[{"id":96285513,"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/labels/uk","name":"uk","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones/20","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/milestones/Icebox","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/milestones/20/labels","id":1200307,"number":20,"title":"Icebox","description":"Stuff that is not a current priority for any group.","creator":{"login":"pmackay","id":115115,"avatar_url":"https://avatars.githubusercontent.com/u/115115?v=3","gravatar_id":"","url":"https://api.github.com/users/pmackay","html_url":"https://github.com/pmackay","followers_url":"https://api.github.com/users/pmackay/followers","following_url":"https://api.github.com/users/pmackay/following{/other_user}","gists_url":"https://api.github.com/users/pmackay/gists{/gist_id}","starred_url":"https://api.github.com/users/pmackay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmackay/subscriptions","organizations_url":"https://api.github.com/users/pmackay/orgs","repos_url":"https://api.github.com/users/pmackay/repos","events_url":"https://api.github.com/users/pmackay/events{/privacy}","received_events_url":"https://api.github.com/users/pmackay/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2015-07-09T10:36:09Z","updated_at":"2016-06-08T02:17:40Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-08T07:17:04Z","updated_at":"2016-11-05T14:07:39Z","closed_at":null,"body":"This request is copied from old issue 318\n\nStroudco would like to be able to automatically close an order cycle when either the number of orders reaches a specified level or the total turnover of an order cycle reaches a specified level? Also please can the administrator be notified by email (and ideally text) that the cycle has automatically closed. Also can any shoppers who try to place an order get an apologetic message explaining that the cycle has closed because the limit has been reached.\n\nthis is because Stroudco has a limited amount of space in which to do the food sort\n"},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments/258613804","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/818#issuecomment-258613804","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/818","id":258613804,"user":{"login":"lin-d-hop","id":8669848,"avatar_url":"https://avatars.githubusercontent.com/u/8669848?v=3","gravatar_id":"","url":"https://api.github.com/users/lin-d-hop","html_url":"https://github.com/lin-d-hop","followers_url":"https://api.github.com/users/lin-d-hop/followers","following_url":"https://api.github.com/users/lin-d-hop/following{/other_user}","gists_url":"https://api.github.com/users/lin-d-hop/gists{/gist_id}","starred_url":"https://api.github.com/users/lin-d-hop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lin-d-hop/subscriptions","organizations_url":"https://api.github.com/users/lin-d-hop/orgs","repos_url":"https://api.github.com/users/lin-d-hop/repos","events_url":"https://api.github.com/users/lin-d-hop/events{/privacy}","received_events_url":"https://api.github.com/users/lin-d-hop/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T14:07:39Z","updated_at":"2016-11-05T14:07:39Z","body":"This enhancement has also  been requested by Dean Forest Food Hub. @NickWeir63 When do you think this might be important for Stroudco?"}}
{"actor":{"display_login":"lin-d-hop"}}