{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/33980","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33980/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33980/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33980/events","html_url":"https://github.com/elastic/elasticsearch/issues/33980","id":363058166,"node_id":"MDU6SXNzdWUzNjMwNTgxNjY=","number":33980,"title":"Watcher email action is successful only if all whitelisted emails are also acknowledged","user":{"login":"lucabelluccini","id":87379,"node_id":"MDQ6VXNlcjg3Mzc5","avatar_url":"https://avatars3.githubusercontent.com/u/87379?v=4","gravatar_id":"","url":"https://api.github.com/users/lucabelluccini","html_url":"https://github.com/lucabelluccini","followers_url":"https://api.github.com/users/lucabelluccini/followers","following_url":"https://api.github.com/users/lucabelluccini/following{/other_user}","gists_url":"https://api.github.com/users/lucabelluccini/gists{/gist_id}","starred_url":"https://api.github.com/users/lucabelluccini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucabelluccini/subscriptions","organizations_url":"https://api.github.com/users/lucabelluccini/orgs","repos_url":"https://api.github.com/users/lucabelluccini/repos","events_url":"https://api.github.com/users/lucabelluccini/events{/privacy}","received_events_url":"https://api.github.com/users/lucabelluccini/received_events","type":"User","site_admin":false},"labels":[{"id":912845062,"node_id":"MDU6TGFiZWw5MTI4NDUwNjI=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Watcher","name":":Core/Watcher","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T08:48:15Z","updated_at":"2018-09-24T08:48:15Z","closed_at":null,"author_association":"NONE","body":"**Elasticsearch version**: `6.3+ but can be applied to previous and latest versions`\r\n\r\n**JVM version**: `not relevant`\r\n\r\n**OS version**: `not relevant`\r\n\r\n**Description of the problem including expected versus actual behavior**:\r\n\r\nIn case we have several recipient emails in a email action, the watcher is NOT successful until ALL emails are whitelisted (and acknowledged).\r\n\r\nAt the moment, if several emails are specified and even just one is not whitelisted or whitelisted but not acknowledged, the watcher fails.\r\n\r\nIt would be interesting to **ignore the not-acknowledged whitelisted emails**, as it prevents the other people to receive the report.\r\n\r\nInternally, this could be reported as fired with warning.\r\n\r\nI do not know if this is intentional or a bug.\r\n\r\n**Steps to reproduce**:\r\n\r\nExample in Elastic Cloud:\r\n 1. Add 2 different emails to the whitelisted emails\r\n 2. Accept only one of the 2 email invitations\r\n 3. Create a dummy watcher with an email notification and provide the 2 addresses as recepients\r\n 4. Watcher fails until we remove the not acknowledged email\r\n\r\n"}}
{"actor":{"display_login":"lucabelluccini"}}