{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/339","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/339/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/339/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/339","id":59532674,"number":339,"title":"Unable to perform Patch for \"needsAction\" using Java library","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-02T19:23:12Z","updated_at":"2015-03-02T19:23:13Z","closed_at":"2015-03-02T19:23:12Z","body":"```\nVersion of google-api-java-client (e.g. 1.5.0-beta)?\ngoogle-api-java-1.5.1-beta\ngoogle-api-services-tasks-v1-1.2.5-beta\n\nJava environment (e.g. Java 6, Android 2.3, App Engine)?\nAndroid 2.3\n\nDescribe the problem.\nUnable to change completed task to incomplete by using java client.\n\ncom.google.api.services.tasks.Tasks tasksService = ...; \nTask task = new Task(); \n task.setId(\"someTaskID\"); \n task.setStatus(\"needsAction\"); \n task.setCompleted(null); \n Patch patch = tasksService.tasks.patch(\"someTaskListID\", task.getId(), task); \n\nThe require field won't be generated. \n{ \n \"id\": \"xxx\" \n \"status\": \"needsAction\", \n \"completed\": null                   <======. MISSING\n}\n\n\n\n\n\n{ \n \"id\": \"xxx\" \n \"status\": \"needsAction\", \n \"completed\": null \n} \n\n\n\nHow would you expect it to be fixed?\n\n\n```\n\nOriginal issue reported on code.google.com by `cweny...@gmail.com` on 3 Nov 2011 at 2:25"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76789893","html_url":"https://github.com/chrsmith/google-api-java-client/issues/339#issuecomment-76789893","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/339","id":76789893,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T19:23:13Z","updated_at":"2015-03-02T19:23:13Z","body":"```\nI had the same problem and this fixed it.\nThanks for you answer, really made things much easier.\n```\n\nOriginal comment by `gabriel....@gmail.com` on 11 Nov 2011 at 10:19"}}