{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/5720","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/5720/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/5720/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/5720/events","html_url":"https://github.com/mautic/mautic/pull/5720","id":297801313,"number":5720,"title":"New campaign action: Update company","user":{"login":"kuzmany","id":462477,"avatar_url":"https://avatars1.githubusercontent.com/u/462477?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzmany","html_url":"https://github.com/kuzmany","followers_url":"https://api.github.com/users/kuzmany/followers","following_url":"https://api.github.com/users/kuzmany/following{/other_user}","gists_url":"https://api.github.com/users/kuzmany/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzmany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzmany/subscriptions","organizations_url":"https://api.github.com/users/kuzmany/orgs","repos_url":"https://api.github.com/users/kuzmany/repos","events_url":"https://api.github.com/users/kuzmany/events{/privacy}","received_events_url":"https://api.github.com/users/kuzmany/received_events","type":"User","site_admin":false},"labels":[{"id":154414465,"url":"https://api.github.com/repos/mautic/mautic/labels/Feature%20Request","name":"Feature Request","color":"1d76db","default":false},{"id":198196353,"url":"https://api.github.com/repos/mautic/mautic/labels/Pending%20Feedback","name":"Pending Feedback","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":{"login":"Maxell92","id":1649279,"avatar_url":"https://avatars3.githubusercontent.com/u/1649279?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxell92","html_url":"https://github.com/Maxell92","followers_url":"https://api.github.com/users/Maxell92/followers","following_url":"https://api.github.com/users/Maxell92/following{/other_user}","gists_url":"https://api.github.com/users/Maxell92/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxell92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxell92/subscriptions","organizations_url":"https://api.github.com/users/Maxell92/orgs","repos_url":"https://api.github.com/users/Maxell92/repos","events_url":"https://api.github.com/users/Maxell92/events{/privacy}","received_events_url":"https://api.github.com/users/Maxell92/received_events","type":"User","site_admin":false},"assignees":[{"login":"Maxell92","id":1649279,"avatar_url":"https://avatars3.githubusercontent.com/u/1649279?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxell92","html_url":"https://github.com/Maxell92","followers_url":"https://api.github.com/users/Maxell92/followers","following_url":"https://api.github.com/users/Maxell92/following{/other_user}","gists_url":"https://api.github.com/users/Maxell92/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxell92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxell92/subscriptions","organizations_url":"https://api.github.com/users/Maxell92/orgs","repos_url":"https://api.github.com/users/Maxell92/repos","events_url":"https://api.github.com/users/Maxell92/events{/privacy}","received_events_url":"https://api.github.com/users/Maxell92/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/39","html_url":"https://github.com/mautic/mautic/milestone/39","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/39/labels","id":2745257,"number":39,"title":"2.13.0","description":"","creator":{"login":"matishaladiwala","id":20324286,"avatar_url":"https://avatars0.githubusercontent.com/u/20324286?v=4","gravatar_id":"","url":"https://api.github.com/users/matishaladiwala","html_url":"https://github.com/matishaladiwala","followers_url":"https://api.github.com/users/matishaladiwala/followers","following_url":"https://api.github.com/users/matishaladiwala/following{/other_user}","gists_url":"https://api.github.com/users/matishaladiwala/gists{/gist_id}","starred_url":"https://api.github.com/users/matishaladiwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matishaladiwala/subscriptions","organizations_url":"https://api.github.com/users/matishaladiwala/orgs","repos_url":"https://api.github.com/users/matishaladiwala/repos","events_url":"https://api.github.com/users/matishaladiwala/events{/privacy}","received_events_url":"https://api.github.com/users/matishaladiwala/received_events","type":"User","site_admin":false},"open_issues":70,"closed_issues":48,"state":"open","created_at":"2017-09-05T13:58:28Z","updated_at":"2018-03-25T16:16:22Z","due_on":"2018-03-12T07:00:00Z","closed_at":null},"comments":9,"created_at":"2018-02-16T14:24:25Z","updated_at":"2018-03-25T20:48:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/5720","html_url":"https://github.com/mautic/mautic/pull/5720","diff_url":"https://github.com/mautic/mautic/pull/5720.diff","patch_url":"https://github.com/mautic/mautic/pull/5720.patch"},"body":"[//]: # ( Please answer the following questions: )\r\n\r\n| Q  | A\r\n| --- | ---\r\n| Bug fix? | \r\n| New feature? | y\r\n| Automated tests included? |\r\n| Related user documentation PR URL | \r\n| Related developer documentation PR URL | \r\n| Issues addressed (#s or URLs) | https://github.com/mautic/mautic/issues/5606\r\n| BC breaks? | \r\n| Deprecations? | \r\n\r\n[//]: # ( Note that all new features should have a related user and/or developer documentation PR in their respective repositories. )\r\n\r\nThis bugfix/feature has been sponsored by @Webmecanik\r\n\r\n[//]: # ( Required: )\r\n#### Description:\r\nNew campaign action will update contacts primary company fields based on community request https://github.com/mautic/mautic/issues/5606\r\n\r\n![image](https://user-images.githubusercontent.com/462477/36399778-bfd2e790-15cd-11e8-9614-d03ab842fd6a.png)\r\n\r\n\r\n#### Steps to test this PR:\r\n1.  Create contact and add company to contact\r\n2. Create campaign, add contact to campaign and add new Update contacts primary company\r\n3. Run campaign and see if primary company was updated"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/376002210","html_url":"https://github.com/mautic/mautic/pull/5720#issuecomment-376002210","issue_url":"https://api.github.com/repos/mautic/mautic/issues/5720","id":376002210,"user":{"login":"kuzmany","id":462477,"avatar_url":"https://avatars1.githubusercontent.com/u/462477?v=4","gravatar_id":"","url":"https://api.github.com/users/kuzmany","html_url":"https://github.com/kuzmany","followers_url":"https://api.github.com/users/kuzmany/followers","following_url":"https://api.github.com/users/kuzmany/following{/other_user}","gists_url":"https://api.github.com/users/kuzmany/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzmany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzmany/subscriptions","organizations_url":"https://api.github.com/users/kuzmany/orgs","repos_url":"https://api.github.com/users/kuzmany/repos","events_url":"https://api.github.com/users/kuzmany/events{/privacy}","received_events_url":"https://api.github.com/users/kuzmany/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T20:48:42Z","updated_at":"2018-03-25T20:48:42Z","author_association":"CONTRIBUTOR","body":"@Maxell92 I just test and works properly. Can you retest?\r\nAlso I added small improvements - remove require symbol if option `ignore_required_constraints` is true\r\nhttps://github.com/mautic/mautic/pull/5720/commits/aa36f1a4fb2fe8be6756a6e4c062f7755d07d13d if \r\n\r\n![image](https://user-images.githubusercontent.com/462477/37879795-860c9e68-307e-11e8-8667-daaffc8ada83.png)\r\n"}}
{"actor":{"display_login":"kuzmany"}}