{"action":"created","comment":{"url":"https://api.github.com/repos/OTRS/otrs/pulls/comments/93750764","pull_request_review_id":14284956,"id":93750764,"diff_hunk":"@@ -184,7 +184,7 @@ sub Run {\n         }\n \n         # take CustomerID from customer backend lookup or from from field\n-        if ( $CustomerData{UserLogin} && !$GetParam{'X-OTRS-CustomerUser'} ) {\n+        if ( $CustomerData{UserLogin} ) {","path":"Kernel/System/PostMaster/NewTicket.pm","position":5,"original_position":5,"commit_id":"b32ad94ed0bf453b44a7f1393ff3dd1ca51ff936","original_commit_id":"b32ad94ed0bf453b44a7f1393ff3dd1ca51ff936","user":{"login":"mgruner","id":211281,"avatar_url":"https://avatars.githubusercontent.com/u/211281?v=3","gravatar_id":"","url":"https://api.github.com/users/mgruner","html_url":"https://github.com/mgruner","followers_url":"https://api.github.com/users/mgruner/followers","following_url":"https://api.github.com/users/mgruner/following{/other_user}","gists_url":"https://api.github.com/users/mgruner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgruner/subscriptions","organizations_url":"https://api.github.com/users/mgruner/orgs","repos_url":"https://api.github.com/users/mgruner/repos","events_url":"https://api.github.com/users/mgruner/events{/privacy}","received_events_url":"https://api.github.com/users/mgruner/received_events","type":"User","site_admin":false},"body":"I omitted this change, I believe it is still valid.","created_at":"2016-12-23T10:34:42Z","updated_at":"2016-12-23T10:34:42Z","html_url":"https://github.com/OTRS/otrs/pull/1587#discussion_r93750764","pull_request_url":"https://api.github.com/repos/OTRS/otrs/pulls/1587","_links":{"self":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/comments/93750764"},"html":{"href":"https://github.com/OTRS/otrs/pull/1587#discussion_r93750764"},"pull_request":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/1587"}}},"pull_request":{"url":"https://api.github.com/repos/OTRS/otrs/pulls/1587","id":97758348,"html_url":"https://github.com/OTRS/otrs/pull/1587","diff_url":"https://github.com/OTRS/otrs/pull/1587.diff","patch_url":"https://github.com/OTRS/otrs/pull/1587.patch","issue_url":"https://api.github.com/repos/OTRS/otrs/issues/1587","number":1587,"state":"open","locked":false,"title":"[ Rel-5_0 Bug 10691 ] - No CustomerID shown after TicketCreate and modified Unit test","user":{"login":"s7design","id":6348760,"avatar_url":"https://avatars.githubusercontent.com/u/6348760?v=3","gravatar_id":"","url":"https://api.github.com/users/s7design","html_url":"https://github.com/s7design","followers_url":"https://api.github.com/users/s7design/followers","following_url":"https://api.github.com/users/s7design/following{/other_user}","gists_url":"https://api.github.com/users/s7design/gists{/gist_id}","starred_url":"https://api.github.com/users/s7design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s7design/subscriptions","organizations_url":"https://api.github.com/users/s7design/orgs","repos_url":"https://api.github.com/users/s7design/repos","events_url":"https://api.github.com/users/s7design/events{/privacy}","received_events_url":"https://api.github.com/users/s7design/received_events","type":"User","site_admin":false},"body":"https://bugs.otrs.org/show_bug.cgi?id=10691\r\n\r\nHello @mgruner \r\n\r\nThis is proposal for no auto-assigning CustomerID and CustomerUser for unknown incoming emails in accordance with your suggestion. Because of that, if there are no CustomerID and CustomerUser found, parameters with their values which are used later for ticket creating stay undefined.\r\n\r\nIF condition is modified because there is the same condition in parent IF and '$GetParam{'X-OTRS-CustomerUser'}'  can not change \r\n(https://github.com/s7design/otrs/blob/5241e87234e22ba647dac196f57253926e7d18e3/Kernel/System/PostMaster/NewTicket.pm#L187).\r\n\r\nPlease let me know if you have any suggestion for this PR.\r\n\r\nRegards,\r\nMilan","created_at":"2016-12-13T14:13:42Z","updated_at":"2016-12-23T10:34:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9bb4b0c48a1e321d1d612d7bc0003a7090875d4","assignee":{"login":"mgruner","id":211281,"avatar_url":"https://avatars.githubusercontent.com/u/211281?v=3","gravatar_id":"","url":"https://api.github.com/users/mgruner","html_url":"https://github.com/mgruner","followers_url":"https://api.github.com/users/mgruner/followers","following_url":"https://api.github.com/users/mgruner/following{/other_user}","gists_url":"https://api.github.com/users/mgruner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgruner/subscriptions","organizations_url":"https://api.github.com/users/mgruner/orgs","repos_url":"https://api.github.com/users/mgruner/repos","events_url":"https://api.github.com/users/mgruner/events{/privacy}","received_events_url":"https://api.github.com/users/mgruner/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgruner","id":211281,"avatar_url":"https://avatars.githubusercontent.com/u/211281?v=3","gravatar_id":"","url":"https://api.github.com/users/mgruner","html_url":"https://github.com/mgruner","followers_url":"https://api.github.com/users/mgruner/followers","following_url":"https://api.github.com/users/mgruner/following{/other_user}","gists_url":"https://api.github.com/users/mgruner/gists{/gist_id}","starred_url":"https://api.github.com/users/mgruner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgruner/subscriptions","organizations_url":"https://api.github.com/users/mgruner/orgs","repos_url":"https://api.github.com/users/mgruner/repos","events_url":"https://api.github.com/users/mgruner/events{/privacy}","received_events_url":"https://api.github.com/users/mgruner/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OTRS/otrs/pulls/1587/commits","review_comments_url":"https://api.github.com/repos/OTRS/otrs/pulls/1587/comments","review_comment_url":"https://api.github.com/repos/OTRS/otrs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OTRS/otrs/issues/1587/comments","statuses_url":"https://api.github.com/repos/OTRS/otrs/statuses/b32ad94ed0bf453b44a7f1393ff3dd1ca51ff936","head":{"label":"s7design:rel-5_0_bug_10691","ref":"rel-5_0_bug_10691","sha":"b32ad94ed0bf453b44a7f1393ff3dd1ca51ff936","user":{"login":"s7design","id":6348760,"avatar_url":"https://avatars.githubusercontent.com/u/6348760?v=3","gravatar_id":"","url":"https://api.github.com/users/s7design","html_url":"https://github.com/s7design","followers_url":"https://api.github.com/users/s7design/followers","following_url":"https://api.github.com/users/s7design/following{/other_user}","gists_url":"https://api.github.com/users/s7design/gists{/gist_id}","starred_url":"https://api.github.com/users/s7design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s7design/subscriptions","organizations_url":"https://api.github.com/users/s7design/orgs","repos_url":"https://api.github.com/users/s7design/repos","events_url":"https://api.github.com/users/s7design/events{/privacy}","received_events_url":"https://api.github.com/users/s7design/received_events","type":"User","site_admin":false},"repo":{"id":16277254,"name":"otrs","full_name":"s7design/otrs","owner":{"login":"s7design","id":6348760,"avatar_url":"https://avatars.githubusercontent.com/u/6348760?v=3","gravatar_id":"","url":"https://api.github.com/users/s7design","html_url":"https://github.com/s7design","followers_url":"https://api.github.com/users/s7design/followers","following_url":"https://api.github.com/users/s7design/following{/other_user}","gists_url":"https://api.github.com/users/s7design/gists{/gist_id}","starred_url":"https://api.github.com/users/s7design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s7design/subscriptions","organizations_url":"https://api.github.com/users/s7design/orgs","repos_url":"https://api.github.com/users/s7design/repos","events_url":"https://api.github.com/users/s7design/events{/privacy}","received_events_url":"https://api.github.com/users/s7design/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s7design/otrs","description":"The OTRS framework.","fork":true,"url":"https://api.github.com/repos/s7design/otrs","forks_url":"https://api.github.com/repos/s7design/otrs/forks","keys_url":"https://api.github.com/repos/s7design/otrs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s7design/otrs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s7design/otrs/teams","hooks_url":"https://api.github.com/repos/s7design/otrs/hooks","issue_events_url":"https://api.github.com/repos/s7design/otrs/issues/events{/number}","events_url":"https://api.github.com/repos/s7design/otrs/events","assignees_url":"https://api.github.com/repos/s7design/otrs/assignees{/user}","branches_url":"https://api.github.com/repos/s7design/otrs/branches{/branch}","tags_url":"https://api.github.com/repos/s7design/otrs/tags","blobs_url":"https://api.github.com/repos/s7design/otrs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s7design/otrs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s7design/otrs/git/refs{/sha}","trees_url":"https://api.github.com/repos/s7design/otrs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s7design/otrs/statuses/{sha}","languages_url":"https://api.github.com/repos/s7design/otrs/languages","stargazers_url":"https://api.github.com/repos/s7design/otrs/stargazers","contributors_url":"https://api.github.com/repos/s7design/otrs/contributors","subscribers_url":"https://api.github.com/repos/s7design/otrs/subscribers","subscription_url":"https://api.github.com/repos/s7design/otrs/subscription","commits_url":"https://api.github.com/repos/s7design/otrs/commits{/sha}","git_commits_url":"https://api.github.com/repos/s7design/otrs/git/commits{/sha}","comments_url":"https://api.github.com/repos/s7design/otrs/comments{/number}","issue_comment_url":"https://api.github.com/repos/s7design/otrs/issues/comments{/number}","contents_url":"https://api.github.com/repos/s7design/otrs/contents/{+path}","compare_url":"https://api.github.com/repos/s7design/otrs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s7design/otrs/merges","archive_url":"https://api.github.com/repos/s7design/otrs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s7design/otrs/downloads","issues_url":"https://api.github.com/repos/s7design/otrs/issues{/number}","pulls_url":"https://api.github.com/repos/s7design/otrs/pulls{/number}","milestones_url":"https://api.github.com/repos/s7design/otrs/milestones{/number}","notifications_url":"https://api.github.com/repos/s7design/otrs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s7design/otrs/labels{/name}","releases_url":"https://api.github.com/repos/s7design/otrs/releases{/id}","deployments_url":"https://api.github.com/repos/s7design/otrs/deployments","created_at":"2014-01-27T11:35:20Z","updated_at":"2016-10-25T06:48:11Z","pushed_at":"2016-12-21T07:59:18Z","git_url":"git://github.com/s7design/otrs.git","ssh_url":"git@github.com:s7design/otrs.git","clone_url":"https://github.com/s7design/otrs.git","svn_url":"https://github.com/s7design/otrs","homepage":null,"size":381089,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OTRS:rel-5_0","ref":"rel-5_0","sha":"a668ce1b7e5d26e693f8c9ac321fc0eb1eb02672","user":{"login":"OTRS","id":3065906,"avatar_url":"https://avatars.githubusercontent.com/u/3065906?v=3","gravatar_id":"","url":"https://api.github.com/users/OTRS","html_url":"https://github.com/OTRS","followers_url":"https://api.github.com/users/OTRS/followers","following_url":"https://api.github.com/users/OTRS/following{/other_user}","gists_url":"https://api.github.com/users/OTRS/gists{/gist_id}","starred_url":"https://api.github.com/users/OTRS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OTRS/subscriptions","organizations_url":"https://api.github.com/users/OTRS/orgs","repos_url":"https://api.github.com/users/OTRS/repos","events_url":"https://api.github.com/users/OTRS/events{/privacy}","received_events_url":"https://api.github.com/users/OTRS/received_events","type":"Organization","site_admin":false},"repo":{"id":16276216,"name":"otrs","full_name":"OTRS/otrs","owner":{"login":"OTRS","id":3065906,"avatar_url":"https://avatars.githubusercontent.com/u/3065906?v=3","gravatar_id":"","url":"https://api.github.com/users/OTRS","html_url":"https://github.com/OTRS","followers_url":"https://api.github.com/users/OTRS/followers","following_url":"https://api.github.com/users/OTRS/following{/other_user}","gists_url":"https://api.github.com/users/OTRS/gists{/gist_id}","starred_url":"https://api.github.com/users/OTRS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OTRS/subscriptions","organizations_url":"https://api.github.com/users/OTRS/orgs","repos_url":"https://api.github.com/users/OTRS/repos","events_url":"https://api.github.com/users/OTRS/events{/privacy}","received_events_url":"https://api.github.com/users/OTRS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OTRS/otrs","description":"The OTRS framework.","fork":false,"url":"https://api.github.com/repos/OTRS/otrs","forks_url":"https://api.github.com/repos/OTRS/otrs/forks","keys_url":"https://api.github.com/repos/OTRS/otrs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OTRS/otrs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OTRS/otrs/teams","hooks_url":"https://api.github.com/repos/OTRS/otrs/hooks","issue_events_url":"https://api.github.com/repos/OTRS/otrs/issues/events{/number}","events_url":"https://api.github.com/repos/OTRS/otrs/events","assignees_url":"https://api.github.com/repos/OTRS/otrs/assignees{/user}","branches_url":"https://api.github.com/repos/OTRS/otrs/branches{/branch}","tags_url":"https://api.github.com/repos/OTRS/otrs/tags","blobs_url":"https://api.github.com/repos/OTRS/otrs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OTRS/otrs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OTRS/otrs/git/refs{/sha}","trees_url":"https://api.github.com/repos/OTRS/otrs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OTRS/otrs/statuses/{sha}","languages_url":"https://api.github.com/repos/OTRS/otrs/languages","stargazers_url":"https://api.github.com/repos/OTRS/otrs/stargazers","contributors_url":"https://api.github.com/repos/OTRS/otrs/contributors","subscribers_url":"https://api.github.com/repos/OTRS/otrs/subscribers","subscription_url":"https://api.github.com/repos/OTRS/otrs/subscription","commits_url":"https://api.github.com/repos/OTRS/otrs/commits{/sha}","git_commits_url":"https://api.github.com/repos/OTRS/otrs/git/commits{/sha}","comments_url":"https://api.github.com/repos/OTRS/otrs/comments{/number}","issue_comment_url":"https://api.github.com/repos/OTRS/otrs/issues/comments{/number}","contents_url":"https://api.github.com/repos/OTRS/otrs/contents/{+path}","compare_url":"https://api.github.com/repos/OTRS/otrs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OTRS/otrs/merges","archive_url":"https://api.github.com/repos/OTRS/otrs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OTRS/otrs/downloads","issues_url":"https://api.github.com/repos/OTRS/otrs/issues{/number}","pulls_url":"https://api.github.com/repos/OTRS/otrs/pulls{/number}","milestones_url":"https://api.github.com/repos/OTRS/otrs/milestones{/number}","notifications_url":"https://api.github.com/repos/OTRS/otrs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OTRS/otrs/labels{/name}","releases_url":"https://api.github.com/repos/OTRS/otrs/releases{/id}","deployments_url":"https://api.github.com/repos/OTRS/otrs/deployments","created_at":"2014-01-27T10:44:13Z","updated_at":"2016-12-15T13:38:58Z","pushed_at":"2016-12-23T10:34:22Z","git_url":"git://github.com/OTRS/otrs.git","ssh_url":"git@github.com:OTRS/otrs.git","clone_url":"https://github.com/OTRS/otrs.git","svn_url":"https://github.com/OTRS/otrs","homepage":null,"size":383771,"stargazers_count":270,"watchers_count":270,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":233,"mirror_url":null,"open_issues_count":58,"forks":233,"open_issues":58,"watchers":270,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/1587"},"html":{"href":"https://github.com/OTRS/otrs/pull/1587"},"issue":{"href":"https://api.github.com/repos/OTRS/otrs/issues/1587"},"comments":{"href":"https://api.github.com/repos/OTRS/otrs/issues/1587/comments"},"review_comments":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/1587/comments"},"review_comment":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OTRS/otrs/pulls/1587/commits"},"statuses":{"href":"https://api.github.com/repos/OTRS/otrs/statuses/b32ad94ed0bf453b44a7f1393ff3dd1ca51ff936"}}}}
{"actor":{"display_login":"mgruner"}}