{"action":"created","comment":{"url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/comments/36856939","id":36856939,"diff_hunk":"@@ -615,6 +618,22 @@ def get(self):\n             data['verified'] = 'Yes' if p.verified else None\n             data['credentials'] = 'Yes' if p.credentials else None\n \n+            for custom_field in added_custom_fields:\n+                dat = _CUSTOM_FIELDS_MAP[custom_field.field_type.code]\n+                field = dat['field']\n+                value = field.provide_data(custom_field, p)\n+\n+                if value == 'false' or not value:\n+                    continue\n+\n+                if custom_field.field_type.code == u'country':\n+                    value = Country(value).name\n+\n+                if custom_field.field_type.code == u'multi_checkbox':","path":"mrt/meetings/participant.py","position":71,"original_position":71,"commit_id":"caa3081c02e294fa9612ffd09e5acceb1ea062c8","original_commit_id":"caa3081c02e294fa9612ffd09e5acceb1ea062c8","user":{"login":"iuliachiriac","id":6183658,"avatar_url":"https://avatars.githubusercontent.com/u/6183658?v=3","gravatar_id":"","url":"https://api.github.com/users/iuliachiriac","html_url":"https://github.com/iuliachiriac","followers_url":"https://api.github.com/users/iuliachiriac/followers","following_url":"https://api.github.com/users/iuliachiriac/following{/other_user}","gists_url":"https://api.github.com/users/iuliachiriac/gists{/gist_id}","starred_url":"https://api.github.com/users/iuliachiriac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iuliachiriac/subscriptions","organizations_url":"https://api.github.com/users/iuliachiriac/orgs","repos_url":"https://api.github.com/users/iuliachiriac/repos","events_url":"https://api.github.com/users/iuliachiriac/events{/privacy}","received_events_url":"https://api.github.com/users/iuliachiriac/received_events","type":"User","site_admin":false},"body":"Same as above, remove hard-coded value.","created_at":"2015-08-12T13:10:07Z","updated_at":"2015-08-12T13:10:07Z","html_url":"https://github.com/eaudeweb/meetings-registration-tool/pull/16#discussion_r36856939","pull_request_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/comments/36856939"},"html":{"href":"https://github.com/eaudeweb/meetings-registration-tool/pull/16#discussion_r36856939"},"pull_request":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16","id":42220956,"html_url":"https://github.com/eaudeweb/meetings-registration-tool/pull/16","diff_url":"https://github.com/eaudeweb/meetings-registration-tool/pull/16.diff","patch_url":"https://github.com/eaudeweb/meetings-registration-tool/pull/16.patch","issue_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/16","number":16,"state":"open","locked":false,"title":"Refs #2986 - Add all non-primary, non-protected custom fields to Excel export","user":{"login":"razvanch","id":9402527,"avatar_url":"https://avatars.githubusercontent.com/u/9402527?v=3","gravatar_id":"","url":"https://api.github.com/users/razvanch","html_url":"https://github.com/razvanch","followers_url":"https://api.github.com/users/razvanch/followers","following_url":"https://api.github.com/users/razvanch/following{/other_user}","gists_url":"https://api.github.com/users/razvanch/gists{/gist_id}","starred_url":"https://api.github.com/users/razvanch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razvanch/subscriptions","organizations_url":"https://api.github.com/users/razvanch/orgs","repos_url":"https://api.github.com/users/razvanch/repos","events_url":"https://api.github.com/users/razvanch/events{/privacy}","received_events_url":"https://api.github.com/users/razvanch/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-12T09:39:39Z","updated_at":"2015-08-12T13:10:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c86ef455f051734e037d15fb0318222f11ec7f00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16/commits","review_comments_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16/comments","review_comment_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/16/comments","statuses_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/statuses/caa3081c02e294fa9612ffd09e5acceb1ea062c8","head":{"label":"eaudeweb:complete_export_excel","ref":"complete_export_excel","sha":"caa3081c02e294fa9612ffd09e5acceb1ea062c8","user":{"login":"eaudeweb","id":318402,"avatar_url":"https://avatars.githubusercontent.com/u/318402?v=3","gravatar_id":"","url":"https://api.github.com/users/eaudeweb","html_url":"https://github.com/eaudeweb","followers_url":"https://api.github.com/users/eaudeweb/followers","following_url":"https://api.github.com/users/eaudeweb/following{/other_user}","gists_url":"https://api.github.com/users/eaudeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/eaudeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaudeweb/subscriptions","organizations_url":"https://api.github.com/users/eaudeweb/orgs","repos_url":"https://api.github.com/users/eaudeweb/repos","events_url":"https://api.github.com/users/eaudeweb/events{/privacy}","received_events_url":"https://api.github.com/users/eaudeweb/received_events","type":"Organization","site_admin":false},"repo":{"id":21569160,"name":"meetings-registration-tool","full_name":"eaudeweb/meetings-registration-tool","owner":{"login":"eaudeweb","id":318402,"avatar_url":"https://avatars.githubusercontent.com/u/318402?v=3","gravatar_id":"","url":"https://api.github.com/users/eaudeweb","html_url":"https://github.com/eaudeweb","followers_url":"https://api.github.com/users/eaudeweb/followers","following_url":"https://api.github.com/users/eaudeweb/following{/other_user}","gists_url":"https://api.github.com/users/eaudeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/eaudeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaudeweb/subscriptions","organizations_url":"https://api.github.com/users/eaudeweb/orgs","repos_url":"https://api.github.com/users/eaudeweb/repos","events_url":"https://api.github.com/users/eaudeweb/events{/privacy}","received_events_url":"https://api.github.com/users/eaudeweb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eaudeweb/meetings-registration-tool","description":"Meetings Registration Tool","fork":false,"url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool","forks_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/forks","keys_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/teams","hooks_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/hooks","issue_events_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/events{/number}","events_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/events","assignees_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/assignees{/user}","branches_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/branches{/branch}","tags_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/tags","blobs_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/languages","stargazers_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/stargazers","contributors_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/contributors","subscribers_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/subscribers","subscription_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/subscription","commits_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/contents/{+path}","compare_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/merges","archive_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/downloads","issues_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues{/number}","pulls_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/labels{/name}","releases_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/releases{/id}","created_at":"2014-07-07T12:06:39Z","updated_at":"2015-05-08T14:29:42Z","pushed_at":"2015-08-12T09:39:39Z","git_url":"git://github.com/eaudeweb/meetings-registration-tool.git","ssh_url":"git@github.com:eaudeweb/meetings-registration-tool.git","clone_url":"https://github.com/eaudeweb/meetings-registration-tool.git","svn_url":"https://github.com/eaudeweb/meetings-registration-tool","homepage":"","size":5032,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"eaudeweb:master","ref":"master","sha":"aeb3e16a624f402c167fa838170ee255c13abe42","user":{"login":"eaudeweb","id":318402,"avatar_url":"https://avatars.githubusercontent.com/u/318402?v=3","gravatar_id":"","url":"https://api.github.com/users/eaudeweb","html_url":"https://github.com/eaudeweb","followers_url":"https://api.github.com/users/eaudeweb/followers","following_url":"https://api.github.com/users/eaudeweb/following{/other_user}","gists_url":"https://api.github.com/users/eaudeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/eaudeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaudeweb/subscriptions","organizations_url":"https://api.github.com/users/eaudeweb/orgs","repos_url":"https://api.github.com/users/eaudeweb/repos","events_url":"https://api.github.com/users/eaudeweb/events{/privacy}","received_events_url":"https://api.github.com/users/eaudeweb/received_events","type":"Organization","site_admin":false},"repo":{"id":21569160,"name":"meetings-registration-tool","full_name":"eaudeweb/meetings-registration-tool","owner":{"login":"eaudeweb","id":318402,"avatar_url":"https://avatars.githubusercontent.com/u/318402?v=3","gravatar_id":"","url":"https://api.github.com/users/eaudeweb","html_url":"https://github.com/eaudeweb","followers_url":"https://api.github.com/users/eaudeweb/followers","following_url":"https://api.github.com/users/eaudeweb/following{/other_user}","gists_url":"https://api.github.com/users/eaudeweb/gists{/gist_id}","starred_url":"https://api.github.com/users/eaudeweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaudeweb/subscriptions","organizations_url":"https://api.github.com/users/eaudeweb/orgs","repos_url":"https://api.github.com/users/eaudeweb/repos","events_url":"https://api.github.com/users/eaudeweb/events{/privacy}","received_events_url":"https://api.github.com/users/eaudeweb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eaudeweb/meetings-registration-tool","description":"Meetings Registration Tool","fork":false,"url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool","forks_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/forks","keys_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/teams","hooks_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/hooks","issue_events_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/events{/number}","events_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/events","assignees_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/assignees{/user}","branches_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/branches{/branch}","tags_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/tags","blobs_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/languages","stargazers_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/stargazers","contributors_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/contributors","subscribers_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/subscribers","subscription_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/subscription","commits_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/contents/{+path}","compare_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/merges","archive_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/downloads","issues_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues{/number}","pulls_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/labels{/name}","releases_url":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/releases{/id}","created_at":"2014-07-07T12:06:39Z","updated_at":"2015-05-08T14:29:42Z","pushed_at":"2015-08-12T09:39:39Z","git_url":"git://github.com/eaudeweb/meetings-registration-tool.git","ssh_url":"git@github.com:eaudeweb/meetings-registration-tool.git","clone_url":"https://github.com/eaudeweb/meetings-registration-tool.git","svn_url":"https://github.com/eaudeweb/meetings-registration-tool","homepage":"","size":5032,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16"},"html":{"href":"https://github.com/eaudeweb/meetings-registration-tool/pull/16"},"issue":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/16"},"comments":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/eaudeweb/meetings-registration-tool/statuses/caa3081c02e294fa9612ffd09e5acceb1ea062c8"}}}}