{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/9554","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/9554/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/9554/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/9554/events","html_url":"https://github.com/Automattic/jetpack/pull/9554","id":323302239,"number":9554,"title":"CLI: Publicize: Adds publicize command for listing connections","user":{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars2.githubusercontent.com/u/1126811?v=4","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false},"labels":[{"id":215942699,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Jetpack%20CLI","name":"Jetpack CLI","color":"006b75","default":false},{"id":70992848,"url":"https://api.github.com/repos/Automattic/jetpack/labels/Publicize","name":"Publicize","color":"006b75","default":false},{"id":199076921,"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars2.githubusercontent.com/u/1126811?v=4","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false},"assignees":[{"login":"ebinnion","id":1126811,"avatar_url":"https://avatars2.githubusercontent.com/u/1126811?v=4","gravatar_id":"","url":"https://api.github.com/users/ebinnion","html_url":"https://github.com/ebinnion","followers_url":"https://api.github.com/users/ebinnion/followers","following_url":"https://api.github.com/users/ebinnion/following{/other_user}","gists_url":"https://api.github.com/users/ebinnion/gists{/gist_id}","starred_url":"https://api.github.com/users/ebinnion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebinnion/subscriptions","organizations_url":"https://api.github.com/users/ebinnion/orgs","repos_url":"https://api.github.com/users/ebinnion/repos","events_url":"https://api.github.com/users/ebinnion/events{/privacy}","received_events_url":"https://api.github.com/users/ebinnion/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/101","html_url":"https://github.com/Automattic/jetpack/milestone/101","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/101/labels","id":3292819,"number":101,"title":"6.2","description":"","creator":{"login":"oskosk","id":746152,"avatar_url":"https://avatars2.githubusercontent.com/u/746152?v=4","gravatar_id":"","url":"https://api.github.com/users/oskosk","html_url":"https://github.com/oskosk","followers_url":"https://api.github.com/users/oskosk/followers","following_url":"https://api.github.com/users/oskosk/following{/other_user}","gists_url":"https://api.github.com/users/oskosk/gists{/gist_id}","starred_url":"https://api.github.com/users/oskosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskosk/subscriptions","organizations_url":"https://api.github.com/users/oskosk/orgs","repos_url":"https://api.github.com/users/oskosk/repos","events_url":"https://api.github.com/users/oskosk/events{/privacy}","received_events_url":"https://api.github.com/users/oskosk/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":47,"state":"open","created_at":"2018-04-24T13:26:35Z","updated_at":"2018-05-17T16:34:01Z","due_on":"2018-05-29T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-05-15T16:56:31Z","updated_at":"2018-05-17T19:32:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/9554","html_url":"https://github.com/Automattic/jetpack/pull/9554","diff_url":"https://github.com/Automattic/jetpack/pull/9554.diff","patch_url":"https://github.com/Automattic/jetpack/pull/9554.patch"},"body":"This pull request seeks to add some CLI commands for managing Publicize. Specifically for listing connections and disconnecting connections.\r\n\r\nThis is currently useful for a partner that is integrating deeply with Jetpack, but it can be used by any Jetpack user that uses Publicize.\r\n\r\nTo test:\r\n\r\n- Connect several accounts\r\n- Run commands from the examples section (replacing the ID with your own connection IDs) and ensure the commands work\r\n- When specifying `all` or a service for disconnection you should be asked to confirm the action and progress bar should be displayed\r\n- When specifying a specific connection to disconnect, no prompt should be displayed"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/389982531","html_url":"https://github.com/Automattic/jetpack/pull/9554#issuecomment-389982531","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/9554","id":389982531,"user":{"login":"gravityrail","id":51896,"avatar_url":"https://avatars0.githubusercontent.com/u/51896?v=4","gravatar_id":"","url":"https://api.github.com/users/gravityrail","html_url":"https://github.com/gravityrail","followers_url":"https://api.github.com/users/gravityrail/followers","following_url":"https://api.github.com/users/gravityrail/following{/other_user}","gists_url":"https://api.github.com/users/gravityrail/gists{/gist_id}","starred_url":"https://api.github.com/users/gravityrail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravityrail/subscriptions","organizations_url":"https://api.github.com/users/gravityrail/orgs","repos_url":"https://api.github.com/users/gravityrail/repos","events_url":"https://api.github.com/users/gravityrail/events{/privacy}","received_events_url":"https://api.github.com/users/gravityrail/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T19:32:15Z","updated_at":"2018-05-17T19:32:15Z","author_association":"CONTRIBUTOR","body":"It all works, except when attempting to disconnect twitter I got this message:\r\n\r\n```\r\n$ wp jetpack publicize disconnect twitter\r\nYou're about to delete all publicize connections to twitter.\r\nAre you sure? This cannot be undone. Type \"yes\" to continue:\r\nyes\r\nError: Publicize connection 19722394 could not be disconnected\r\n```\r\n\r\nHowever after some digging I believe that was due to a problem with my sandbox, not with this patch - so I am approving."}}
{"actor":{"display_login":"gravityrail"}}