{"action":"closed","number":337,"pull_request":{"url":"https://api.github.com/repos/motech/modules/pulls/337","id":77803817,"html_url":"https://github.com/motech/modules/pull/337","diff_url":"https://github.com/motech/modules/pull/337.diff","patch_url":"https://github.com/motech/modules/pull/337.patch","issue_url":"https://api.github.com/repos/motech/modules/issues/337","number":337,"state":"closed","locked":false,"title":"MOTECH-2228: fix retreving data in dhis2 release 2.22","user":{"login":"mkwiatkowskisoldevelo","id":15270555,"avatar_url":"https://avatars.githubusercontent.com/u/15270555?v=3","gravatar_id":"","url":"https://api.github.com/users/mkwiatkowskisoldevelo","html_url":"https://github.com/mkwiatkowskisoldevelo","followers_url":"https://api.github.com/users/mkwiatkowskisoldevelo/followers","following_url":"https://api.github.com/users/mkwiatkowskisoldevelo/following{/other_user}","gists_url":"https://api.github.com/users/mkwiatkowskisoldevelo/gists{/gist_id}","starred_url":"https://api.github.com/users/mkwiatkowskisoldevelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkwiatkowskisoldevelo/subscriptions","organizations_url":"https://api.github.com/users/mkwiatkowskisoldevelo/orgs","repos_url":"https://api.github.com/users/mkwiatkowskisoldevelo/repos","events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/events{/privacy}","received_events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/received_events","type":"User","site_admin":false},"body":"- there was a change in retrieve list of objects in DHIS 2.22 release, now server replies only with id and display name instead of full data object, especially there was lack of href attribute so it was impossible to retrieve detailed information about object in list; to get full object information while getting list of them api requires to add \"?fields=:identifiable\" filter at the end of URL, another solution is to get information for every single object\r\n- also fixed typo in DHIS2 contollers.js, that causes error in browser console and empty table of Tracked Entities\r\n\r\nfor checking api changes view [2.22](https://www.dhis2.org/222-upgrade)","created_at":"2016-07-18T12:59:32Z","updated_at":"2016-07-22T08:10:32Z","closed_at":"2016-07-22T08:10:32Z","merged_at":"2016-07-22T08:10:32Z","merge_commit_sha":"2e68b7beeac1470311434f1dfd19a38eb642e4e7","assignee":{"login":"PiotrZurawskiSolDevelo","id":17067184,"avatar_url":"https://avatars.githubusercontent.com/u/17067184?v=3","gravatar_id":"","url":"https://api.github.com/users/PiotrZurawskiSolDevelo","html_url":"https://github.com/PiotrZurawskiSolDevelo","followers_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/followers","following_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/following{/other_user}","gists_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/gists{/gist_id}","starred_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/subscriptions","organizations_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/orgs","repos_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/repos","events_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/events{/privacy}","received_events_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/received_events","type":"User","site_admin":false},"assignees":[{"login":"PiotrZurawskiSolDevelo","id":17067184,"avatar_url":"https://avatars.githubusercontent.com/u/17067184?v=3","gravatar_id":"","url":"https://api.github.com/users/PiotrZurawskiSolDevelo","html_url":"https://github.com/PiotrZurawskiSolDevelo","followers_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/followers","following_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/following{/other_user}","gists_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/gists{/gist_id}","starred_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/subscriptions","organizations_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/orgs","repos_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/repos","events_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/events{/privacy}","received_events_url":"https://api.github.com/users/PiotrZurawskiSolDevelo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/motech/modules/pulls/337/commits","review_comments_url":"https://api.github.com/repos/motech/modules/pulls/337/comments","review_comment_url":"https://api.github.com/repos/motech/modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/motech/modules/issues/337/comments","statuses_url":"https://api.github.com/repos/motech/modules/statuses/399c2c64b225833dbd2232ebc73f1fc0497f745d","head":{"label":"mkwiatkowskisoldevelo:motech-2228","ref":"motech-2228","sha":"399c2c64b225833dbd2232ebc73f1fc0497f745d","user":{"login":"mkwiatkowskisoldevelo","id":15270555,"avatar_url":"https://avatars.githubusercontent.com/u/15270555?v=3","gravatar_id":"","url":"https://api.github.com/users/mkwiatkowskisoldevelo","html_url":"https://github.com/mkwiatkowskisoldevelo","followers_url":"https://api.github.com/users/mkwiatkowskisoldevelo/followers","following_url":"https://api.github.com/users/mkwiatkowskisoldevelo/following{/other_user}","gists_url":"https://api.github.com/users/mkwiatkowskisoldevelo/gists{/gist_id}","starred_url":"https://api.github.com/users/mkwiatkowskisoldevelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkwiatkowskisoldevelo/subscriptions","organizations_url":"https://api.github.com/users/mkwiatkowskisoldevelo/orgs","repos_url":"https://api.github.com/users/mkwiatkowskisoldevelo/repos","events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/events{/privacy}","received_events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/received_events","type":"User","site_admin":false},"repo":{"id":45537312,"name":"modules","full_name":"mkwiatkowskisoldevelo/modules","owner":{"login":"mkwiatkowskisoldevelo","id":15270555,"avatar_url":"https://avatars.githubusercontent.com/u/15270555?v=3","gravatar_id":"","url":"https://api.github.com/users/mkwiatkowskisoldevelo","html_url":"https://github.com/mkwiatkowskisoldevelo","followers_url":"https://api.github.com/users/mkwiatkowskisoldevelo/followers","following_url":"https://api.github.com/users/mkwiatkowskisoldevelo/following{/other_user}","gists_url":"https://api.github.com/users/mkwiatkowskisoldevelo/gists{/gist_id}","starred_url":"https://api.github.com/users/mkwiatkowskisoldevelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkwiatkowskisoldevelo/subscriptions","organizations_url":"https://api.github.com/users/mkwiatkowskisoldevelo/orgs","repos_url":"https://api.github.com/users/mkwiatkowskisoldevelo/repos","events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/events{/privacy}","received_events_url":"https://api.github.com/users/mkwiatkowskisoldevelo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkwiatkowskisoldevelo/modules","description":" Mobile Technology for Community Health - Modules","fork":true,"url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules","forks_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/forks","keys_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/teams","hooks_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/hooks","issue_events_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/issues/events{/number}","events_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/events","assignees_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/assignees{/user}","branches_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/branches{/branch}","tags_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/tags","blobs_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/languages","stargazers_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/stargazers","contributors_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/contributors","subscribers_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/subscribers","subscription_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/subscription","commits_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/contents/{+path}","compare_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/merges","archive_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/downloads","issues_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/issues{/number}","pulls_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/labels{/name}","releases_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/releases{/id}","deployments_url":"https://api.github.com/repos/mkwiatkowskisoldevelo/modules/deployments","created_at":"2015-11-04T12:23:37Z","updated_at":"2016-01-15T12:55:46Z","pushed_at":"2016-07-20T13:02:15Z","git_url":"git://github.com/mkwiatkowskisoldevelo/modules.git","ssh_url":"git@github.com:mkwiatkowskisoldevelo/modules.git","clone_url":"https://github.com/mkwiatkowskisoldevelo/modules.git","svn_url":"https://github.com/mkwiatkowskisoldevelo/modules","homepage":"http://modules.motechproject.org","size":33719,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"motech:master","ref":"master","sha":"2f481c190efddb91f52d3d56782f14a643147de9","user":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"repo":{"id":19785525,"name":"modules","full_name":"motech/modules","owner":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/motech/modules","description":" Mobile Technology for Community Health - Modules","fork":false,"url":"https://api.github.com/repos/motech/modules","forks_url":"https://api.github.com/repos/motech/modules/forks","keys_url":"https://api.github.com/repos/motech/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motech/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motech/modules/teams","hooks_url":"https://api.github.com/repos/motech/modules/hooks","issue_events_url":"https://api.github.com/repos/motech/modules/issues/events{/number}","events_url":"https://api.github.com/repos/motech/modules/events","assignees_url":"https://api.github.com/repos/motech/modules/assignees{/user}","branches_url":"https://api.github.com/repos/motech/modules/branches{/branch}","tags_url":"https://api.github.com/repos/motech/modules/tags","blobs_url":"https://api.github.com/repos/motech/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motech/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motech/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/motech/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motech/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/motech/modules/languages","stargazers_url":"https://api.github.com/repos/motech/modules/stargazers","contributors_url":"https://api.github.com/repos/motech/modules/contributors","subscribers_url":"https://api.github.com/repos/motech/modules/subscribers","subscription_url":"https://api.github.com/repos/motech/modules/subscription","commits_url":"https://api.github.com/repos/motech/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/motech/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/motech/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/motech/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/motech/modules/contents/{+path}","compare_url":"https://api.github.com/repos/motech/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motech/modules/merges","archive_url":"https://api.github.com/repos/motech/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motech/modules/downloads","issues_url":"https://api.github.com/repos/motech/modules/issues{/number}","pulls_url":"https://api.github.com/repos/motech/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/motech/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/motech/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motech/modules/labels{/name}","releases_url":"https://api.github.com/repos/motech/modules/releases{/id}","deployments_url":"https://api.github.com/repos/motech/modules/deployments","created_at":"2014-05-14T15:41:17Z","updated_at":"2016-03-01T02:21:35Z","pushed_at":"2016-07-22T08:10:32Z","git_url":"git://github.com/motech/modules.git","ssh_url":"git@github.com:motech/modules.git","clone_url":"https://github.com/motech/modules.git","svn_url":"https://github.com/motech/modules","homepage":"http://modules.motechproject.org","size":39781,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":8,"forks":48,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/motech/modules/pulls/337"},"html":{"href":"https://github.com/motech/modules/pull/337"},"issue":{"href":"https://api.github.com/repos/motech/modules/issues/337"},"comments":{"href":"https://api.github.com/repos/motech/modules/issues/337/comments"},"review_comments":{"href":"https://api.github.com/repos/motech/modules/pulls/337/comments"},"review_comment":{"href":"https://api.github.com/repos/motech/modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/motech/modules/pulls/337/commits"},"statuses":{"href":"https://api.github.com/repos/motech/modules/statuses/399c2c64b225833dbd2232ebc73f1fc0497f745d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kmadej","id":9861925,"avatar_url":"https://avatars.githubusercontent.com/u/9861925?v=3","gravatar_id":"","url":"https://api.github.com/users/kmadej","html_url":"https://github.com/kmadej","followers_url":"https://api.github.com/users/kmadej/followers","following_url":"https://api.github.com/users/kmadej/following{/other_user}","gists_url":"https://api.github.com/users/kmadej/gists{/gist_id}","starred_url":"https://api.github.com/users/kmadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmadej/subscriptions","organizations_url":"https://api.github.com/users/kmadej/orgs","repos_url":"https://api.github.com/users/kmadej/repos","events_url":"https://api.github.com/users/kmadej/events{/privacy}","received_events_url":"https://api.github.com/users/kmadej/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":3,"additions":194,"deletions":21,"changed_files":8}}
{"actor":{"display_login":"kmadej"}}