{"action":"closed","issue":{"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/4895","repository_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/4895/labels{/name}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/4895/comments","events_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/4895/events","html_url":"https://github.com/department-of-veterans-affairs/caseflow/issues/4895","id":306613500,"number":4895,"title":"Allow judges to distinguish between assignments that need to be assigned to attorneys and assignments to review","user":{"login":"amprokop","id":3781835,"avatar_url":"https://avatars0.githubusercontent.com/u/3781835?v=4","gravatar_id":"","url":"https://api.github.com/users/amprokop","html_url":"https://github.com/amprokop","followers_url":"https://api.github.com/users/amprokop/followers","following_url":"https://api.github.com/users/amprokop/following{/other_user}","gists_url":"https://api.github.com/users/amprokop/gists{/gist_id}","starred_url":"https://api.github.com/users/amprokop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amprokop/subscriptions","organizations_url":"https://api.github.com/users/amprokop/orgs","repos_url":"https://api.github.com/users/amprokop/repos","events_url":"https://api.github.com/users/amprokop/events{/privacy}","received_events_url":"https://api.github.com/users/amprokop/received_events","type":"User","site_admin":false},"labels":[{"id":360259487,"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/In-Progress","name":"In-Progress","color":"ededed","default":false},{"id":793104304,"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/caseflow-queue","name":"caseflow-queue","color":"006b75","default":false},{"id":493448602,"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/foxtrot","name":"foxtrot","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":{"login":"aroltsch","id":3811786,"avatar_url":"https://avatars0.githubusercontent.com/u/3811786?v=4","gravatar_id":"","url":"https://api.github.com/users/aroltsch","html_url":"https://github.com/aroltsch","followers_url":"https://api.github.com/users/aroltsch/followers","following_url":"https://api.github.com/users/aroltsch/following{/other_user}","gists_url":"https://api.github.com/users/aroltsch/gists{/gist_id}","starred_url":"https://api.github.com/users/aroltsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroltsch/subscriptions","organizations_url":"https://api.github.com/users/aroltsch/orgs","repos_url":"https://api.github.com/users/aroltsch/repos","events_url":"https://api.github.com/users/aroltsch/events{/privacy}","received_events_url":"https://api.github.com/users/aroltsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"aroltsch","id":3811786,"avatar_url":"https://avatars0.githubusercontent.com/u/3811786?v=4","gravatar_id":"","url":"https://api.github.com/users/aroltsch","html_url":"https://github.com/aroltsch","followers_url":"https://api.github.com/users/aroltsch/followers","following_url":"https://api.github.com/users/aroltsch/following{/other_user}","gists_url":"https://api.github.com/users/aroltsch/gists{/gist_id}","starred_url":"https://api.github.com/users/aroltsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroltsch/subscriptions","organizations_url":"https://api.github.com/users/aroltsch/orgs","repos_url":"https://api.github.com/users/aroltsch/repos","events_url":"https://api.github.com/users/aroltsch/events{/privacy}","received_events_url":"https://api.github.com/users/aroltsch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-19T20:03:16Z","updated_at":"2018-04-02T12:53:51Z","closed_at":"2018-04-02T12:53:51Z","author_association":"CONTRIBUTOR","body":"Part of https://github.com/department-of-veterans-affairs/caseflow/issues/4853\r\n\r\n![image](https://user-images.githubusercontent.com/3781835/37618867-eb485c86-2b8d-11e8-8064-642350d4ac33.png)\r\n\r\nFor the judge view, we need some new pieces of information. We need to distinguish between cases to assign and cases to review, and for each of them, we need to be able to calculate a \"Days waiting\" value.\r\n\r\nFor cases to review, this column means “Days since the attorney has assigned the case back to the judge”, and for cases to assign, this column means “Days since the DAS assignment to this judge was created”.\r\n\r\n# AC\r\n-  For judges, `GET /queue/:user_id` should return a list of tasks that tell the client whether they're cases to review or cases to assign\r\n  - If `DERECEIVE` is nil, it's a case to assign, otherwise it's a case to review\r\n- For judges, `vacols_assignment.assigned_on` should reflect the date on which the case entered the judge's queue, so the frontend can use that to calculate \"Days waiting\"\r\n  - This probably means that we're not pulling from `DEASSIGN` for `assigned_on` anymore, as we would for attorneys\r\n  - For cases that the judge has to assign to an attorney, `assigned_on` should come from `DECASS.DEADTIM`\r\n   - For cases that the judge has to review, `assigned_on` should come from `DECASS.DERECEIVE`\r\n\r\n"}}
{"actor":{"display_login":"aroltsch"}}