{"action":"created","issue":{"url":"https://api.github.com/repos/ndlib/annex-ims/issues/46","labels_url":"https://api.github.com/repos/ndlib/annex-ims/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/ndlib/annex-ims/issues/46/comments","events_url":"https://api.github.com/repos/ndlib/annex-ims/issues/46/events","html_url":"https://github.com/ndlib/annex-ims/pull/46","id":93594953,"number":46,"title":"AIMS-262: Don't log UnstockedItem if an item is not associated to a tray","user":{"login":"jgondron","id":11502744,"avatar_url":"https://avatars.githubusercontent.com/u/11502744?v=3","gravatar_id":"","url":"https://api.github.com/users/jgondron","html_url":"https://github.com/jgondron","followers_url":"https://api.github.com/users/jgondron/followers","following_url":"https://api.github.com/users/jgondron/following{/other_user}","gists_url":"https://api.github.com/users/jgondron/gists{/gist_id}","starred_url":"https://api.github.com/users/jgondron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgondron/subscriptions","organizations_url":"https://api.github.com/users/jgondron/orgs","repos_url":"https://api.github.com/users/jgondron/repos","events_url":"https://api.github.com/users/jgondron/events{/privacy}","received_events_url":"https://api.github.com/users/jgondron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T18:18:24Z","updated_at":"2015-07-07T18:20:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ndlib/annex-ims/pulls/46","html_url":"https://github.com/ndlib/annex-ims/pull/46","diff_url":"https://github.com/ndlib/annex-ims/pull/46.diff","patch_url":"https://github.com/ndlib/annex-ims/pull/46.patch"},"body":"Why: Adding an item to a bin currently calls UnstockItem, which will changed the status of the item and log an UnstockedItem activity. This can happen whether the Item was associated with a tray or not. If an item is not yet associated with a tray, we don't want it to log an UnstockedItem activity.\r\nHow: Changed UnstockedItem to not log if it does not have an associated tray."},"comment":{"url":"https://api.github.com/repos/ndlib/annex-ims/issues/comments/119290865","html_url":"https://github.com/ndlib/annex-ims/pull/46#issuecomment-119290865","issue_url":"https://api.github.com/repos/ndlib/annex-ims/issues/46","id":119290865,"user":{"login":"jaronkk","id":127832,"avatar_url":"https://avatars.githubusercontent.com/u/127832?v=3","gravatar_id":"","url":"https://api.github.com/users/jaronkk","html_url":"https://github.com/jaronkk","followers_url":"https://api.github.com/users/jaronkk/followers","following_url":"https://api.github.com/users/jaronkk/following{/other_user}","gists_url":"https://api.github.com/users/jaronkk/gists{/gist_id}","starred_url":"https://api.github.com/users/jaronkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaronkk/subscriptions","organizations_url":"https://api.github.com/users/jaronkk/orgs","repos_url":"https://api.github.com/users/jaronkk/repos","events_url":"https://api.github.com/users/jaronkk/events{/privacy}","received_events_url":"https://api.github.com/users/jaronkk/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T18:20:38Z","updated_at":"2015-07-07T18:20:38Z","body":":+1: "}}