{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/609","labels_url":"https://api.github.com/repos/mautic/mautic/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/609/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/609/events","html_url":"https://github.com/mautic/mautic/pull/609","id":92946692,"number":609,"title":"Fixes campaign emails that only recognized a lead's first and last name tokens","user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/5","html_url":"https://github.com/mautic/mautic/milestones/1.1.3","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/5/labels","id":1152307,"number":5,"title":"1.1.3","description":"","creator":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":28,"state":"open","created_at":"2015-06-06T02:28:37Z","updated_at":"2015-07-11T21:12:17Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-03T23:03:14Z","updated_at":"2015-07-11T21:53:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/609","html_url":"https://github.com/mautic/mautic/pull/609","diff_url":"https://github.com/mautic/mautic/pull/609.diff","patch_url":"https://github.com/mautic/mautic/pull/609.patch"},"body":"**Description**\r\nEmails sent through a campaign would not populate lead fields other than first and last name. This PR fixes it.\r\n\r\n**Testing**\r\nAdd an email to a campaign dropflow.  In that email add a token for the {leadfield=company} and {leadfield=firstname}.  Create/edit a lead to have both filled in.  Add the lead to the campaign then execute the mautic:campaign:trigger command. The email that arrives will have the first name but not the company populated.  Apply the PR, repeat and this time all the lead's fields should be available."},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/120663789","html_url":"https://github.com/mautic/mautic/pull/609#issuecomment-120663789","issue_url":"https://api.github.com/repos/mautic/mautic/issues/609","id":120663789,"user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T21:53:20Z","updated_at":"2015-07-11T21:53:20Z","body":"@escopecz I started to add a group by but then reread and realized you're right; it's not even required for a count.  You should be able to test this PR now.\r\n\r\nThanks!"}}