{"action":"created","issue":{"url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/2","labels_url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/2/comments","events_url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/2/events","html_url":"https://github.com/AmericanRedCross/OpenMapKit/issues/2","id":58177264,"number":2,"title":"Ona API: Form OSM edit set should show latest osm element only","user":{"login":"hallahan","id":556367,"avatar_url":"https://avatars.githubusercontent.com/u/556367?v=3","gravatar_id":"","url":"https://api.github.com/users/hallahan","html_url":"https://github.com/hallahan","followers_url":"https://api.github.com/users/hallahan/followers","following_url":"https://api.github.com/users/hallahan/following{/other_user}","gists_url":"https://api.github.com/users/hallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/hallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallahan/subscriptions","organizations_url":"https://api.github.com/users/hallahan/orgs","repos_url":"https://api.github.com/users/hallahan/repos","events_url":"https://api.github.com/users/hallahan/events{/privacy}","received_events_url":"https://api.github.com/users/hallahan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/milestones/1","html_url":"https://github.com/AmericanRedCross/OpenMapKit/milestones/Dhaka","labels_url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/milestones/1/labels","id":1021087,"number":1,"title":"Dhaka","description":"Deliverable for Data for Action for field work in Dhaka, Bangladesh","creator":{"login":"dalekunce","id":1913857,"avatar_url":"https://avatars.githubusercontent.com/u/1913857?v=3","gravatar_id":"","url":"https://api.github.com/users/dalekunce","html_url":"https://github.com/dalekunce","followers_url":"https://api.github.com/users/dalekunce/followers","following_url":"https://api.github.com/users/dalekunce/following{/other_user}","gists_url":"https://api.github.com/users/dalekunce/gists{/gist_id}","starred_url":"https://api.github.com/users/dalekunce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalekunce/subscriptions","organizations_url":"https://api.github.com/users/dalekunce/orgs","repos_url":"https://api.github.com/users/dalekunce/repos","events_url":"https://api.github.com/users/dalekunce/events{/privacy}","received_events_url":"https://api.github.com/users/dalekunce/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":10,"state":"open","created_at":"2015-03-13T22:37:19Z","updated_at":"2015-09-11T20:07:12Z","due_on":"2015-05-01T07:00:00Z","closed_at":null},"comments":5,"created_at":"2015-02-19T07:48:34Z","updated_at":"2015-09-11T20:07:12Z","closed_at":"2015-09-11T20:07:12Z","body":"We can't delete the old OSM XML, because that would corrupt the workflow of form submission. If I were to reselect a previously edited OSM element in a new form instance and deleted the old one, there would be an error on the submission to Ona.\r\n\r\nInstead, we need to add logic to Ona's API so that when we get the set of OSM edits for a given form, the latest edit for a given feature should be included, and the older ones should not."},"comment":{"url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/comments/139649497","html_url":"https://github.com/AmericanRedCross/OpenMapKit/issues/2#issuecomment-139649497","issue_url":"https://api.github.com/repos/AmericanRedCross/OpenMapKit/issues/2","id":139649497,"user":{"login":"hallahan","id":556367,"avatar_url":"https://avatars.githubusercontent.com/u/556367?v=3","gravatar_id":"","url":"https://api.github.com/users/hallahan","html_url":"https://github.com/hallahan","followers_url":"https://api.github.com/users/hallahan/followers","following_url":"https://api.github.com/users/hallahan/following{/other_user}","gists_url":"https://api.github.com/users/hallahan/gists{/gist_id}","starred_url":"https://api.github.com/users/hallahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallahan/subscriptions","organizations_url":"https://api.github.com/users/hallahan/orgs","repos_url":"https://api.github.com/users/hallahan/repos","events_url":"https://api.github.com/users/hallahan/events{/privacy}","received_events_url":"https://api.github.com/users/hallahan/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T20:07:12Z","updated_at":"2015-09-11T20:07:12Z","body":"I do not think this issue is completed, but it should be in the onadata repo if we want to acknowledge this."}}