{"action":"created","issue":{"url":"https://api.github.com/repos/YaleSTC/reservations/issues/1216","labels_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1216/labels{/name}","comments_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1216/comments","events_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1216/events","html_url":"https://github.com/YaleSTC/reservations/issues/1216","id":66035584,"number":1216,"title":"Reservation Flags","user":{"login":"esoterik","id":2908224,"avatar_url":"https://avatars.githubusercontent.com/u/2908224?v=3","gravatar_id":"","url":"https://api.github.com/users/esoterik","html_url":"https://github.com/esoterik","followers_url":"https://api.github.com/users/esoterik/followers","following_url":"https://api.github.com/users/esoterik/following{/other_user}","gists_url":"https://api.github.com/users/esoterik/gists{/gist_id}","starred_url":"https://api.github.com/users/esoterik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esoterik/subscriptions","organizations_url":"https://api.github.com/users/esoterik/orgs","repos_url":"https://api.github.com/users/esoterik/repos","events_url":"https://api.github.com/users/esoterik/events{/privacy}","received_events_url":"https://api.github.com/users/esoterik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YaleSTC/reservations/labels/diff:%203","name":"diff: 3","color":"ffff99"},{"url":"https://api.github.com/repos/YaleSTC/reservations/labels/pri:%202","name":"pri: 2","color":"ffaaaa"},{"url":"https://api.github.com/repos/YaleSTC/reservations/labels/type:%20feature","name":"type: feature","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/YaleSTC/reservations/milestones/31","html_url":"https://github.com/YaleSTC/reservations/milestones/5.3.0","labels_url":"https://api.github.com/repos/YaleSTC/reservations/milestones/31/labels","id":987925,"number":31,"title":"5.3.0","description":"Third sprint of Spring 2015.","creator":{"login":"orenyk","id":901808,"avatar_url":"https://avatars.githubusercontent.com/u/901808?v=3","gravatar_id":"","url":"https://api.github.com/users/orenyk","html_url":"https://github.com/orenyk","followers_url":"https://api.github.com/users/orenyk/followers","following_url":"https://api.github.com/users/orenyk/following{/other_user}","gists_url":"https://api.github.com/users/orenyk/gists{/gist_id}","starred_url":"https://api.github.com/users/orenyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orenyk/subscriptions","organizations_url":"https://api.github.com/users/orenyk/orgs","repos_url":"https://api.github.com/users/orenyk/repos","events_url":"https://api.github.com/users/orenyk/events{/privacy}","received_events_url":"https://api.github.com/users/orenyk/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":2,"state":"open","created_at":"2015-02-20T06:57:43Z","updated_at":"2015-04-20T01:16:42Z","due_on":"2015-05-04T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-04-02T23:55:48Z","updated_at":"2015-04-24T00:25:43Z","closed_at":null,"body":"#462 implemented a bitmask for miscellaneous boolean values for reservations, which is currently used to flag requests and for an email task. This should be used to mark any issues with the reservation; for example, if it is lost or broken, the reservation should be flagged as such.\r\n\r\nThis also means adding checkboxes to the check-in form and the archive JS pop up to set these flags.\r\n\r\nSee [here](http://stackoverflow.com/questions/3384875/searching-by-bitmask-in-activerecord) and [here](http://stackoverflow.com/questions/3681195/in-rails-what-is-the-best-way-to-store-multiple-boolean-attributes-in-a-model) for more information on bitmasks."},"comment":{"url":"https://api.github.com/repos/YaleSTC/reservations/issues/comments/95761721","html_url":"https://github.com/YaleSTC/reservations/issues/1216#issuecomment-95761721","issue_url":"https://api.github.com/repos/YaleSTC/reservations/issues/1216","id":95761721,"user":{"login":"esoterik","id":2908224,"avatar_url":"https://avatars.githubusercontent.com/u/2908224?v=3","gravatar_id":"","url":"https://api.github.com/users/esoterik","html_url":"https://github.com/esoterik","followers_url":"https://api.github.com/users/esoterik/followers","following_url":"https://api.github.com/users/esoterik/following{/other_user}","gists_url":"https://api.github.com/users/esoterik/gists{/gist_id}","starred_url":"https://api.github.com/users/esoterik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esoterik/subscriptions","organizations_url":"https://api.github.com/users/esoterik/orgs","repos_url":"https://api.github.com/users/esoterik/repos","events_url":"https://api.github.com/users/esoterik/events{/privacy}","received_events_url":"https://api.github.com/users/esoterik/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T00:25:43Z","updated_at":"2015-04-24T00:25:43Z","body":"And we have a scope that returns reservations with a particular flag as of #462, so that is no longer necessary for this issue"}}