{"action":"created","issue":{"url":"https://api.github.com/repos/humanmade/Workflow/issues/8","repository_url":"https://api.github.com/repos/humanmade/Workflow","labels_url":"https://api.github.com/repos/humanmade/Workflow/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/humanmade/Workflow/issues/8/comments","events_url":"https://api.github.com/repos/humanmade/Workflow/issues/8/events","html_url":"https://github.com/humanmade/Workflow/issues/8","id":293222510,"number":8,"title":"Built in Event: Draft to Pending","user":{"login":"roborourke","id":23417,"avatar_url":"https://avatars1.githubusercontent.com/u/23417?v=4","gravatar_id":"","url":"https://api.github.com/users/roborourke","html_url":"https://github.com/roborourke","followers_url":"https://api.github.com/users/roborourke/followers","following_url":"https://api.github.com/users/roborourke/following{/other_user}","gists_url":"https://api.github.com/users/roborourke/gists{/gist_id}","starred_url":"https://api.github.com/users/roborourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roborourke/subscriptions","organizations_url":"https://api.github.com/users/roborourke/orgs","repos_url":"https://api.github.com/users/roborourke/repos","events_url":"https://api.github.com/users/roborourke/events{/privacy}","received_events_url":"https://api.github.com/users/roborourke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/humanmade/Workflow/milestones/1","html_url":"https://github.com/humanmade/Workflow/milestone/1","labels_url":"https://api.github.com/repos/humanmade/Workflow/milestones/1/labels","id":3077802,"number":1,"title":"v1","description":"The first version of WorkFlow. Should be feature complete and ready for addons to be built.","creator":{"login":"roborourke","id":23417,"avatar_url":"https://avatars1.githubusercontent.com/u/23417?v=4","gravatar_id":"","url":"https://api.github.com/users/roborourke","html_url":"https://github.com/roborourke","followers_url":"https://api.github.com/users/roborourke/followers","following_url":"https://api.github.com/users/roborourke/following{/other_user}","gists_url":"https://api.github.com/users/roborourke/gists{/gist_id}","starred_url":"https://api.github.com/users/roborourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roborourke/subscriptions","organizations_url":"https://api.github.com/users/roborourke/orgs","repos_url":"https://api.github.com/users/roborourke/repos","events_url":"https://api.github.com/users/roborourke/events{/privacy}","received_events_url":"https://api.github.com/users/roborourke/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2018-01-31T14:13:37Z","updated_at":"2018-01-31T16:37:23Z","due_on":"2018-02-28T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-01-31T16:25:00Z","updated_at":"2018-02-14T11:15:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- [ ] UI has a checkbox list of post types\r\n- [ ] Adds a custom field to post edit screen for ‘Assignee’ (or owner)\r\n- [ ] Has a recipient handler called ‘Post assignee’ that gets the user ID from post meta"},"comment":{"url":"https://api.github.com/repos/humanmade/Workflow/issues/comments/365572221","html_url":"https://github.com/humanmade/Workflow/issues/8#issuecomment-365572221","issue_url":"https://api.github.com/repos/humanmade/Workflow/issues/8","id":365572221,"user":{"login":"roborourke","id":23417,"avatar_url":"https://avatars1.githubusercontent.com/u/23417?v=4","gravatar_id":"","url":"https://api.github.com/users/roborourke","html_url":"https://github.com/roborourke","followers_url":"https://api.github.com/users/roborourke/followers","following_url":"https://api.github.com/users/roborourke/following{/other_user}","gists_url":"https://api.github.com/users/roborourke/gists{/gist_id}","starred_url":"https://api.github.com/users/roborourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roborourke/subscriptions","organizations_url":"https://api.github.com/users/roborourke/orgs","repos_url":"https://api.github.com/users/roborourke/repos","events_url":"https://api.github.com/users/roborourke/events{/privacy}","received_events_url":"https://api.github.com/users/roborourke/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T11:15:12Z","updated_at":"2018-02-14T11:15:12Z","author_association":"CONTRIBUTOR","body":"@pdewouters \r\n\r\n> What is the Assignee field for?\r\nAssignee field would be the person responsible for the post, say an editor, it's to be able to notify someone other than the post author\r\n\r\n> In the code how would you define for which post types the action needs to run?\r\nThat would be handled via the UI data which would get passed through to the event listener, the event listener will have the info from the action eg. the post object and then the logic to handle the settings from the UI would be handled in the event listener to select the post type."}}
{"actor":{"display_login":"roborourke"}}