{"action":"opened","issue":{"url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/issues/158","labels_url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/issues/158/comments","events_url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/issues/158/events","html_url":"https://github.com/RostarSynergistics/ShinyExpenseTracker/issues/158","id":64837661,"number":158,"title":"Set geolocation for expense claim or expense item","user":{"login":"oleynikovo","id":6224668,"avatar_url":"https://avatars.githubusercontent.com/u/6224668?v=3","gravatar_id":"","url":"https://api.github.com/users/oleynikovo","html_url":"https://github.com/oleynikovo","followers_url":"https://api.github.com/users/oleynikovo/followers","following_url":"https://api.github.com/users/oleynikovo/following{/other_user}","gists_url":"https://api.github.com/users/oleynikovo/gists{/gist_id}","starred_url":"https://api.github.com/users/oleynikovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleynikovo/subscriptions","organizations_url":"https://api.github.com/users/oleynikovo/orgs","repos_url":"https://api.github.com/users/oleynikovo/repos","events_url":"https://api.github.com/users/oleynikovo/events{/privacy}","received_events_url":"https://api.github.com/users/oleynikovo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/labels/geolocation","name":"geolocation","color":"bfe5bf"},{"url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/labels/use-case","name":"use-case","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"oleynikovo","id":6224668,"avatar_url":"https://avatars.githubusercontent.com/u/6224668?v=3","gravatar_id":"","url":"https://api.github.com/users/oleynikovo","html_url":"https://github.com/oleynikovo","followers_url":"https://api.github.com/users/oleynikovo/followers","following_url":"https://api.github.com/users/oleynikovo/following{/other_user}","gists_url":"https://api.github.com/users/oleynikovo/gists{/gist_id}","starred_url":"https://api.github.com/users/oleynikovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleynikovo/subscriptions","organizations_url":"https://api.github.com/users/oleynikovo/orgs","repos_url":"https://api.github.com/users/oleynikovo/repos","events_url":"https://api.github.com/users/oleynikovo/events{/privacy}","received_events_url":"https://api.github.com/users/oleynikovo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/milestones/2","html_url":"https://github.com/RostarSynergistics/ShinyExpenseTracker/milestones/Project%20Part%205%20%E2%80%94%20Final%20Prototype","labels_url":"https://api.github.com/repos/RostarSynergistics/ShinyExpenseTracker/milestones/2/labels","id":978956,"number":2,"title":"Project Part 5 — Final Prototype","description":"Project needs to be code complete by this date.\r\n\r\nActual due date of project: Tuesday, April 7, 4PM.\r\n\r\nhttps://eclass.srv.ualberta.ca/mod/assign/view.php?id=1314609","creator":{"login":"adamjford","id":174829,"avatar_url":"https://avatars.githubusercontent.com/u/174829?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjford","html_url":"https://github.com/adamjford","followers_url":"https://api.github.com/users/adamjford/followers","following_url":"https://api.github.com/users/adamjford/following{/other_user}","gists_url":"https://api.github.com/users/adamjford/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjford/subscriptions","organizations_url":"https://api.github.com/users/adamjford/orgs","repos_url":"https://api.github.com/users/adamjford/repos","events_url":"https://api.github.com/users/adamjford/events{/privacy}","received_events_url":"https://api.github.com/users/adamjford/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":6,"state":"open","created_at":"2015-02-13T20:37:51Z","updated_at":"2015-03-27T19:38:55Z","due_on":"2015-04-04T06:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-27T19:38:55Z","updated_at":"2015-03-27T19:38:55Z","closed_at":null,"body":"Actors: Claimant\r\nGoal: Set geolocation for expense claim or an expense item\r\nTrigger: Claimant selects Set Geolocation while filling out info on an Expense Claim or an Expense Item\r\nPrecondition: Claimant is on one of the following screens: Create Expense Claim, Edit Expense Claim, Create Expense Item or Edit Expense Item.\r\nPostcondition: Geolocation for the Expense Claim or Expense Item is set\r\n\r\nBasic Flow:\r\n1. Claimant selects Set Geolocation while filling out info on an Expense Claim or an Expense Item.\r\n2. System prompts Claimant whether he or she wants to use their current location or use the map to select the geolocation;\r\n3.1. On selecting Use Current Location, the system fetches the coordinates from the phone's GPS module.\r\n3.2 On selecting Use Map, the system displays a map and the Claimant chooses a location on it.\r\n4. System displays the coordinates selected and asks Claimant to confirm selection.\r\n5. On pressing Confirm.\r\n6. The system returns to the previous screen.\r\n\r\nExceptions:\r\n5. Claimant presses Cancel.\r\n5.1. System returns Claimant to the previous screen\r\n\r\nCovers: US10.02.01"}}