{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/15637","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/15637/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/15637/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/15637/events","html_url":"https://github.com/magento/magento2/pull/15637","id":328303218,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxODc4NDk2","number":15637,"title":"Create ability to set is_visible_on_front to order status history comment","user":{"login":"markoshust","id":437029,"node_id":"MDQ6VXNlcjQzNzAyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/437029?v=4","gravatar_id":"","url":"https://api.github.com/users/markoshust","html_url":"https://github.com/markoshust","followers_url":"https://api.github.com/users/markoshust/followers","following_url":"https://api.github.com/users/markoshust/following{/other_user}","gists_url":"https://api.github.com/users/markoshust/gists{/gist_id}","starred_url":"https://api.github.com/users/markoshust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markoshust/subscriptions","organizations_url":"https://api.github.com/users/markoshust/orgs","repos_url":"https://api.github.com/users/markoshust/repos","events_url":"https://api.github.com/users/markoshust/events{/privacy}","received_events_url":"https://api.github.com/users/markoshust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-31T21:26:39Z","updated_at":"2018-05-31T21:26:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/15637","html_url":"https://github.com/magento/magento2/pull/15637","diff_url":"https://github.com/magento/magento2/pull/15637.diff","patch_url":"https://github.com/magento/magento2/pull/15637.patch"},"body":"Create ability to set is_visible_on_front to order status history comment.\r\n\r\n### Description\r\nThe parameter `is_visible_on_front` is able to be set from the admin, but not from `addStatusHistoryComment` of the order model. This would provide the ability to set this value from custom code such as event observers.\r\n\r\n### Manual testing scenarios\r\n1. Call `->addStatusHistoryComment($comment, false)` to not set is_visible_on_front (backwards compatible with no extra param)\r\n2. Call `->addStatusHistoryComment($comment, false, true)` to set is_visible_on_front\r\n3. Call `->addStatusHistoryComment($comment, false, false)` to not set is_visible_on_front\r\n\r\n### Contribution checklist\r\n - [x ] Pull request has a meaningful description of its purpose\r\n - [x ] All commits are accompanied by meaningful commit messages\r\n - [x ] All new or changed code is covered with unit/integration tests (if applicable)\r\n - [x ] All automated tests passed successfully (all builds on Travis CI are green)\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/393685938","html_url":"https://github.com/magento/magento2/pull/15637#issuecomment-393685938","issue_url":"https://api.github.com/repos/magento/magento2/issues/15637","id":393685938,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzY4NTkzOA==","user":{"login":"magento-cicd2","id":14279950,"node_id":"MDQ6VXNlcjE0Mjc5OTUw","avatar_url":"https://avatars2.githubusercontent.com/u/14279950?v=4","gravatar_id":"","url":"https://api.github.com/users/magento-cicd2","html_url":"https://github.com/magento-cicd2","followers_url":"https://api.github.com/users/magento-cicd2/followers","following_url":"https://api.github.com/users/magento-cicd2/following{/other_user}","gists_url":"https://api.github.com/users/magento-cicd2/gists{/gist_id}","starred_url":"https://api.github.com/users/magento-cicd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento-cicd2/subscriptions","organizations_url":"https://api.github.com/users/magento-cicd2/orgs","repos_url":"https://api.github.com/users/magento-cicd2/repos","events_url":"https://api.github.com/users/magento-cicd2/events{/privacy}","received_events_url":"https://api.github.com/users/magento-cicd2/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T21:26:42Z","updated_at":"2018-05-31T21:26:42Z","author_association":"CONTRIBUTOR","body":"[![CLA assistant check](https://cla.dev.magento.com/pull/badge/not_signed)](https://cla.dev.magento.com/magento/magento2?pullRequest=15637) <br/>Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla.dev.magento.com/magento/magento2?pullRequest=15637) before we can accept your contribution.<br/>"}}
{"actor":{"display_login":"magento-cicd2"}}