{"action":"closed","number":171,"pull_request":{"url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171","id":224252688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MjUyNjg4","html_url":"https://github.com/IBM/watson-assistant-workbench/pull/171","diff_url":"https://github.com/IBM/watson-assistant-workbench/pull/171.diff","patch_url":"https://github.com/IBM/watson-assistant-workbench/pull/171.patch","issue_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/171","number":171,"state":"closed","locked":false,"title":"Pattern entities to json2csv and fixed utf-8 bug","user":{"login":"hcicenter-research","id":30924659,"node_id":"MDQ6VXNlcjMwOTI0NjU5","avatar_url":"https://avatars2.githubusercontent.com/u/30924659?v=4","gravatar_id":"","url":"https://api.github.com/users/hcicenter-research","html_url":"https://github.com/hcicenter-research","followers_url":"https://api.github.com/users/hcicenter-research/followers","following_url":"https://api.github.com/users/hcicenter-research/following{/other_user}","gists_url":"https://api.github.com/users/hcicenter-research/gists{/gist_id}","starred_url":"https://api.github.com/users/hcicenter-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcicenter-research/subscriptions","organizations_url":"https://api.github.com/users/hcicenter-research/orgs","repos_url":"https://api.github.com/users/hcicenter-research/repos","events_url":"https://api.github.com/users/hcicenter-research/events{/privacy}","received_events_url":"https://api.github.com/users/hcicenter-research/received_events","type":"User","site_admin":false},"body":"#168 addressed in this:\r\nI added another IF to check if there are \"patterns\". Then used the same code as for synonyms. Additionally adding \"~\" in front of value of pattern entity.\r\n\r\nThere was problem with converting utf8 entities to csv, e.g., \"Tomášek\" was not exported. That is now fixed using encoding (maybe there is more elegant way though).","created_at":"2018-10-19T11:16:54Z","updated_at":"2018-10-23T08:48:06Z","closed_at":"2018-10-23T08:48:06Z","merged_at":"2018-10-23T08:48:06Z","merge_commit_sha":"139501a339f348f092b949fa54350744dd3224c2","assignee":{"login":"Tereza-Pytelova","id":39054958,"node_id":"MDQ6VXNlcjM5MDU0OTU4","avatar_url":"https://avatars1.githubusercontent.com/u/39054958?v=4","gravatar_id":"","url":"https://api.github.com/users/Tereza-Pytelova","html_url":"https://github.com/Tereza-Pytelova","followers_url":"https://api.github.com/users/Tereza-Pytelova/followers","following_url":"https://api.github.com/users/Tereza-Pytelova/following{/other_user}","gists_url":"https://api.github.com/users/Tereza-Pytelova/gists{/gist_id}","starred_url":"https://api.github.com/users/Tereza-Pytelova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tereza-Pytelova/subscriptions","organizations_url":"https://api.github.com/users/Tereza-Pytelova/orgs","repos_url":"https://api.github.com/users/Tereza-Pytelova/repos","events_url":"https://api.github.com/users/Tereza-Pytelova/events{/privacy}","received_events_url":"https://api.github.com/users/Tereza-Pytelova/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tereza-Pytelova","id":39054958,"node_id":"MDQ6VXNlcjM5MDU0OTU4","avatar_url":"https://avatars1.githubusercontent.com/u/39054958?v=4","gravatar_id":"","url":"https://api.github.com/users/Tereza-Pytelova","html_url":"https://github.com/Tereza-Pytelova","followers_url":"https://api.github.com/users/Tereza-Pytelova/followers","following_url":"https://api.github.com/users/Tereza-Pytelova/following{/other_user}","gists_url":"https://api.github.com/users/Tereza-Pytelova/gists{/gist_id}","starred_url":"https://api.github.com/users/Tereza-Pytelova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tereza-Pytelova/subscriptions","organizations_url":"https://api.github.com/users/Tereza-Pytelova/orgs","repos_url":"https://api.github.com/users/Tereza-Pytelova/repos","events_url":"https://api.github.com/users/Tereza-Pytelova/events{/privacy}","received_events_url":"https://api.github.com/users/Tereza-Pytelova/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/IBM/watson-assistant-workbench/milestones/13","html_url":"https://github.com/IBM/watson-assistant-workbench/milestone/13","labels_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/milestones/13/labels","id":3628063,"node_id":"MDk6TWlsZXN0b25lMzYyODA2Mw==","number":13,"title":"Sprint 22","description":"","creator":{"login":"Tereza-Pytelova","id":39054958,"node_id":"MDQ6VXNlcjM5MDU0OTU4","avatar_url":"https://avatars1.githubusercontent.com/u/39054958?v=4","gravatar_id":"","url":"https://api.github.com/users/Tereza-Pytelova","html_url":"https://github.com/Tereza-Pytelova","followers_url":"https://api.github.com/users/Tereza-Pytelova/followers","following_url":"https://api.github.com/users/Tereza-Pytelova/following{/other_user}","gists_url":"https://api.github.com/users/Tereza-Pytelova/gists{/gist_id}","starred_url":"https://api.github.com/users/Tereza-Pytelova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tereza-Pytelova/subscriptions","organizations_url":"https://api.github.com/users/Tereza-Pytelova/orgs","repos_url":"https://api.github.com/users/Tereza-Pytelova/repos","events_url":"https://api.github.com/users/Tereza-Pytelova/events{/privacy}","received_events_url":"https://api.github.com/users/Tereza-Pytelova/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":3,"state":"open","created_at":"2018-09-06T09:51:56Z","updated_at":"2018-10-23T08:48:06Z","due_on":"2018-10-30T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171/commits","review_comments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171/comments","review_comment_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/171/comments","statuses_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/statuses/432b5112198aa8e14a6a95289009f8ae2f524939","head":{"label":"IBM:i168_pattern_entities_json2csv","ref":"i168_pattern_entities_json2csv","sha":"432b5112198aa8e14a6a95289009f8ae2f524939","user":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"repo":{"id":126021056,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYwMjEwNTY=","name":"watson-assistant-workbench","full_name":"IBM/watson-assistant-workbench","private":false,"owner":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/IBM/watson-assistant-workbench","description":"Framework for maintaining Watson Assistant data in github repository with bundle of tools for generating, testing and uploading. Travis: https://travis-ci.com/IBM/watson-assistant-workbench. Artifactory: https://na.artifactory.swg-devops.com/artifactory/webapp/#/artifacts/browse/tree/General/iot-waw-trevis-generic-local.","fork":false,"url":"https://api.github.com/repos/IBM/watson-assistant-workbench","forks_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/forks","keys_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/teams","hooks_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/hooks","issue_events_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/events{/number}","events_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/events","assignees_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/assignees{/user}","branches_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/branches{/branch}","tags_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/tags","blobs_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/languages","stargazers_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/stargazers","contributors_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/contributors","subscribers_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/subscribers","subscription_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/subscription","commits_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/contents/{+path}","compare_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/merges","archive_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/downloads","issues_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues{/number}","pulls_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/labels{/name}","releases_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/releases{/id}","deployments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/deployments","created_at":"2018-03-20T13:23:08Z","updated_at":"2018-10-23T08:24:46Z","pushed_at":"2018-10-23T08:48:06Z","git_url":"git://github.com/IBM/watson-assistant-workbench.git","ssh_url":"git@github.com:IBM/watson-assistant-workbench.git","clone_url":"https://github.com/IBM/watson-assistant-workbench.git","svn_url":"https://github.com/IBM/watson-assistant-workbench","homepage":"","size":382,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":115,"watchers":5,"default_branch":"devel"}},"base":{"label":"IBM:devel","ref":"devel","sha":"09dc6e5fb76ca263895a914f5042b32371a57f1b","user":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"repo":{"id":126021056,"node_id":"MDEwOlJlcG9zaXRvcnkxMjYwMjEwNTY=","name":"watson-assistant-workbench","full_name":"IBM/watson-assistant-workbench","private":false,"owner":{"login":"IBM","id":1459110,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NTkxMTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1459110?v=4","gravatar_id":"","url":"https://api.github.com/users/IBM","html_url":"https://github.com/IBM","followers_url":"https://api.github.com/users/IBM/followers","following_url":"https://api.github.com/users/IBM/following{/other_user}","gists_url":"https://api.github.com/users/IBM/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM/subscriptions","organizations_url":"https://api.github.com/users/IBM/orgs","repos_url":"https://api.github.com/users/IBM/repos","events_url":"https://api.github.com/users/IBM/events{/privacy}","received_events_url":"https://api.github.com/users/IBM/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/IBM/watson-assistant-workbench","description":"Framework for maintaining Watson Assistant data in github repository with bundle of tools for generating, testing and uploading. Travis: https://travis-ci.com/IBM/watson-assistant-workbench. Artifactory: https://na.artifactory.swg-devops.com/artifactory/webapp/#/artifacts/browse/tree/General/iot-waw-trevis-generic-local.","fork":false,"url":"https://api.github.com/repos/IBM/watson-assistant-workbench","forks_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/forks","keys_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/teams","hooks_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/hooks","issue_events_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/events{/number}","events_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/events","assignees_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/assignees{/user}","branches_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/branches{/branch}","tags_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/tags","blobs_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/languages","stargazers_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/stargazers","contributors_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/contributors","subscribers_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/subscribers","subscription_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/subscription","commits_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/contents/{+path}","compare_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/merges","archive_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/downloads","issues_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues{/number}","pulls_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/labels{/name}","releases_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/releases{/id}","deployments_url":"https://api.github.com/repos/IBM/watson-assistant-workbench/deployments","created_at":"2018-03-20T13:23:08Z","updated_at":"2018-10-23T08:24:46Z","pushed_at":"2018-10-23T08:48:06Z","git_url":"git://github.com/IBM/watson-assistant-workbench.git","ssh_url":"git@github.com:IBM/watson-assistant-workbench.git","clone_url":"https://github.com/IBM/watson-assistant-workbench.git","svn_url":"https://github.com/IBM/watson-assistant-workbench","homepage":"","size":382,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":115,"watchers":5,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171"},"html":{"href":"https://github.com/IBM/watson-assistant-workbench/pull/171"},"issue":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/171"},"comments":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/IBM/watson-assistant-workbench/statuses/432b5112198aa8e14a6a95289009f8ae2f524939"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Tereza-Pytelova","id":39054958,"node_id":"MDQ6VXNlcjM5MDU0OTU4","avatar_url":"https://avatars1.githubusercontent.com/u/39054958?v=4","gravatar_id":"","url":"https://api.github.com/users/Tereza-Pytelova","html_url":"https://github.com/Tereza-Pytelova","followers_url":"https://api.github.com/users/Tereza-Pytelova/followers","following_url":"https://api.github.com/users/Tereza-Pytelova/following{/other_user}","gists_url":"https://api.github.com/users/Tereza-Pytelova/gists{/gist_id}","starred_url":"https://api.github.com/users/Tereza-Pytelova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tereza-Pytelova/subscriptions","organizations_url":"https://api.github.com/users/Tereza-Pytelova/orgs","repos_url":"https://api.github.com/users/Tereza-Pytelova/repos","events_url":"https://api.github.com/users/Tereza-Pytelova/events{/privacy}","received_events_url":"https://api.github.com/users/Tereza-Pytelova/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":11,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"Tereza-Pytelova"}}