{"action":"created","issue":{"url":"https://api.github.com/repos/agilecube/Amigo/issues/47","labels_url":"https://api.github.com/repos/agilecube/Amigo/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/agilecube/Amigo/issues/47/comments","events_url":"https://api.github.com/repos/agilecube/Amigo/issues/47/events","html_url":"https://github.com/agilecube/Amigo/issues/47","id":120902834,"number":47,"title":"Current zone is not active","user":{"login":"Aram4ik","id":592627,"avatar_url":"https://avatars.githubusercontent.com/u/592627?v=3","gravatar_id":"","url":"https://api.github.com/users/Aram4ik","html_url":"https://github.com/Aram4ik","followers_url":"https://api.github.com/users/Aram4ik/followers","following_url":"https://api.github.com/users/Aram4ik/following{/other_user}","gists_url":"https://api.github.com/users/Aram4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/Aram4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aram4ik/subscriptions","organizations_url":"https://api.github.com/users/Aram4ik/orgs","repos_url":"https://api.github.com/users/Aram4ik/repos","events_url":"https://api.github.com/users/Aram4ik/events{/privacy}","received_events_url":"https://api.github.com/users/Aram4ik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/agilecube/Amigo/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"agilecubeteam","id":14108944,"avatar_url":"https://avatars.githubusercontent.com/u/14108944?v=3","gravatar_id":"","url":"https://api.github.com/users/agilecubeteam","html_url":"https://github.com/agilecubeteam","followers_url":"https://api.github.com/users/agilecubeteam/followers","following_url":"https://api.github.com/users/agilecubeteam/following{/other_user}","gists_url":"https://api.github.com/users/agilecubeteam/gists{/gist_id}","starred_url":"https://api.github.com/users/agilecubeteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilecubeteam/subscriptions","organizations_url":"https://api.github.com/users/agilecubeteam/orgs","repos_url":"https://api.github.com/users/agilecubeteam/repos","events_url":"https://api.github.com/users/agilecubeteam/events{/privacy}","received_events_url":"https://api.github.com/users/agilecubeteam/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-08T00:39:41Z","updated_at":"2015-12-09T09:15:42Z","closed_at":null,"body":"I don't know exact steps but logic is like this:\r\n- user takes an order and goes to Busy\r\n- after he comes back he sees himself green\r\n- he reserves a nearest zone and sees green as current and yellow as nearest\r\n\r\nEverything seems correct but dispatcher does not see him in his current zone which means he is not registered there.\r\nAnd of course user realizes this after he wait for some time, makes manual refresh and sees that instead of moving forward in a queue he moves back (which is logical cause he has not reserved anything).\r\n\r\nPossible solution for this should be control while reserving nearest zone:\r\nnearestZone.click() {\r\n   if(currentZone == null) {\r\n      makeGreenZoneAsCurrentZone();\r\n   }\r\n   reserveNearestZone();\r\n}"},"comment":{"url":"https://api.github.com/repos/agilecube/Amigo/issues/comments/163157906","html_url":"https://github.com/agilecube/Amigo/issues/47#issuecomment-163157906","issue_url":"https://api.github.com/repos/agilecube/Amigo/issues/47","id":163157906,"user":{"login":"agilecube","id":13015900,"avatar_url":"https://avatars.githubusercontent.com/u/13015900?v=3","gravatar_id":"","url":"https://api.github.com/users/agilecube","html_url":"https://github.com/agilecube","followers_url":"https://api.github.com/users/agilecube/followers","following_url":"https://api.github.com/users/agilecube/following{/other_user}","gists_url":"https://api.github.com/users/agilecube/gists{/gist_id}","starred_url":"https://api.github.com/users/agilecube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilecube/subscriptions","organizations_url":"https://api.github.com/users/agilecube/orgs","repos_url":"https://api.github.com/users/agilecube/repos","events_url":"https://api.github.com/users/agilecube/events{/privacy}","received_events_url":"https://api.github.com/users/agilecube/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T09:15:42Z","updated_at":"2015-12-09T09:15:42Z","body":"umm.. Aram my team is not able to reproduce this. Let's talk when you are available to understand more. "}}